Skip to content
HighVulnerability

GHSA-m8f9-9whg-f4xr: Open WebUI has stored XSS via attacker-controlled file extension in /api/v1/audio/transcriptions

Published
Record updated
View JSON
Affected
  • open-webui <= 0.9.2
Fixed in
0.9.3
  • released May 9, 2026, 5 days before disclosure

Summary

Open WebUI's audio transcription upload endpoint, /api/v1/audio/transcriptions, takes the file extension from the user-supplied filename and stores the file under CACHE_DIR/audio/transcriptions/<uuid>.<ext> with no allowlist. The /cache/{path} route serves it via FileResponse, which sets Content-Type from that extension and sends no Content-Disposition, so a polyglot WAV+HTML file uploaded as pwn.html is returned as text/html. A verified user with the default-on chat.stt permission can exploit this to run embedded script in the Open WebUI origin when another user opens the link, with the JWT in localStorage.token reachable from JavaScript.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.