# CVE-2026-45315: Open WebUI: Stored XSS via attacker-controlled file extension in /api/v1/audio/transcriptions

- Severity: High 8.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 8% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-14T20:17:58.000Z
- Modified: 2026-11-11T20:10:00.273Z
- Also known as: GHSA-m8f9-9whg-f4xr, PYSEC-2026-2748
- Weaknesses: CWE-79, CWE-434, CWE-646
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

Open WebUI is a self-hosted artificial intelligence platform designed to operate entirely offline. Prior to 0.9.3, the audio transcription upload endpoint takes the file extension from the user-supplied filename and saves the file under CACHE_DIR/audio/transcriptions/.. The /cache/{path} route serves these files via FileResponse, which sets Content-Type from the on-disk extension and emits no Content-Disposition. A verified user with the default-on chat.stt permission can upload a polyglot WAV+HTML file named pwn.html and trick any other user into opening the resulting URL — the response comes back as text/html and any embedded <script> runs in the Open WebUI origin. This vulnerability is fixed in 0.9.3.

(As written by CVE List.)

## Affected

- open-webui open-webui: < 0.9.3
- open-webui (PyPI): before 0.9.3
- openwebui open_webui: before 0.9.3

## Every score

- GitHub_M: CVSS:3.1 8.7 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N`
- GitHub: CVSS:3.1 8.7 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N`
- PyPA Advisory Database: CVSS:3.1 8.7 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N`

## References

- <https://github.com/open-webui/open-webui/security/advisories/GHSA-m8f9-9whg-f4xr> (exploit, mitigation, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-45315> (advisory)
- <https://github.com/open-webui/open-webui> (package)
- <https://github.com/open-webui/open-webui/releases/tag/v0.9.3> (web)
- <https://pypi.org/project/open-webui> (package)
- <https://github.com/advisories/GHSA-m8f9-9whg-f4xr> (advisory)

## Sources

- CVE List: [CVE-2026-45315](https://www.cve.org/CVERecord?id=CVE-2026-45315), CVE Terms of Use, modified 2026-05-19
- GitHub Advisory Database: [GHSA-m8f9-9whg-f4xr](https://github.com/advisories/GHSA-m8f9-9whg-f4xr), CC-BY-4.0, modified 2026-07-13
- NVD: [CVE-2026-45315](https://nvd.nist.gov/vuln/detail/CVE-2026-45315), Public domain, modified 2026-11-11
- PyPA Advisory Database: [PYSEC-2026-2748](https://osv.dev/vulnerability/PYSEC-2026-2748), CC-BY-4.0, modified 2026-07-13

---

Page: https://cve.day/CVE-2026-45315 · Whole record: https://cve.day/CVE-2026-45315.json · Rebuilt by cve.day 2026-11-25T22:59:21.874Z
