Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. open-webui
  4. ›
  5. CVE-2026-45315

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

May 14, 2026 (updated May 19, 2026)

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 runs in the Open WebUI origin.

References

  • github.com/advisories/GHSA-m8f9-9whg-f4xr
  • github.com/open-webui/open-webui/releases/tag/v0.9.3
  • github.com/open-webui/open-webui/security/advisories/GHSA-m8f9-9whg-f4xr
  • nvd.nist.gov/vuln/detail/CVE-2026-45315

Code Behaviors & Features

Detect and mitigate CVE-2026-45315 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.9.3

Fixed versions

  • 0.9.3

Solution

Upgrade to version 0.9.3 or above.

Impact 8.7 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-434: Unrestricted Upload of File with Dangerous Type
  • CWE-646: Reliance on File Name or Extension of Externally-Supplied File
  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

pypi/open-webui/CVE-2026-45315.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 23 Jun 2026 12:23:21 +0000.