CVE-2026-45315CWE-434CWE-646CWE-79

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

High · published May 15, 2026

CVSS v3.1
8.7
EPSS
0%
Percentile
8.3
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
8.7 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.00186 · 8.3th percentile
Weaknesses
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')
Published
2026-05-15T21:26Z
EPSS history
Timeline
  • 15 MAY 21:26Z
    Open WebUI: Stored XSS via attacker-controlled file extension in /api/v1/audio/transcriptions
    cvelistv5