GHSA-m8f9-9whg-f4xr: Open WebUI has stored XSS via attacker-controlled file extension in /api/v1/audio/transcriptions
- Identifiers
- CVE-2026-45315GHSA-m8f9-9whg-f4xr
- Published
- Record updated
- 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.
Affected packages in the Exposure Registry
Matched by package name and ecosystem. Each entry shows whether the package delegates to a language model and how many tracked packages depend on it.
- open-webuiPyPILLM dependency since 2024-05-20
Related items
- MediumCVE-2026-143967: Wise Chat with AI unauthenticated stored cross-site scriptingSimilar attack, NVD/CVE Database
- MediumCVE-2026-135917: Apache Camel A2A component confused deputy via shared message headersSimilar attack, NVD/CVE Database
- MediumCVE-2026-107489: Improper Authentication vulnerability in Apache Camel A2A component. This issue affects Apache Camel: from 4.21.0…Similar attack, NVD/CVE Database
- MediumNSA urges immediate post-quantum shift after AI labs report cryptography breakthroughsSimilar attack, CSO Online
- LowPerplexity caught an AI attacker casing its cloudSimilar attack, CSO Online