CVE 8.7 HIGH

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

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

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.

AI Analysis

Stored XSS via attacker-controlled file extension in audio transcription upload endpoint

Basic Information

ID CVE-2026-45315
Source GitHub_M
Published May 15, 2026 at 21:26

Affected Product

Vendor open-webui
Product open-webui
Version < 0.9.3
Affected Versions open-webui open-webui < 0.9.3

CWE Classification

AI Assessment

AI Score 8.7 / 10
AI Severity High
Vendor Open WebUI
Product Open WebUI
Version < 0.9.3

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.