Open WebUI Has Stored Cross-Site Scripting in SVG Renderer
CVE-2026-45346 · GHSA-r29h-37fj-x2w6 · published 2026-05-14 · updated 2026-05-19
- Severity
- Medium
- CVSS score
- 5.1
- Chance of exploitation (EPSS)
- 0.17%
- Fixed in
- 0.6.31
- Exploitation Public proof of concept
- Automatable No
- Technical impact Partial
- CISA SSVC
Cross-Site Scripting allows attacker to execute malicious code in context of victim's browser. This way it could be used in malicious client-side attack achieving different things, depends on attacker's goal. Such thread with rendered SVG could be shared to other user (or administrator) and gain sensitive data or even takeover someone's account.
Upgrade open-webui to 0.6.31 or later. If you start it from an MCP config with npx or uvx, pin that version so an old cached copy is not used.
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| open-webui | npm | < 0.6.31 | 0.6.31 |
- CriticalJupyter Server: Stored XSS in `NbconvertFileHandler` / `NbconvertPostHandler` via missing `sandbox` CSPjupyter-server
- CriticalMalicious website can execute commands on the local system through XSS in the OpenCode web UIopencode-ai
- CriticalFlowise is vulnerable to stored XSS via "View Messages" allows credential theft in FlowiseAI admin panelflowise
- CriticalMLFlow Cross-site Scripting vulnerability leads to client-side Remote Code Executionmlflow
- CriticalCross-site Scripting in MLFlowmlflow
- HighPraisonAI: Prompt Injection Defense Bypassed for HIGH-Level Threatspraisonai
- HighOpen WebUI has Stored XSS in Banner Component via Improper Sanitization Orderopen-webui
- HighOpen WebUI: Missing `workspace.tools` Authorization Check on Tool Update Endpoint Allows Privilege Escalation to Code Executionopen-webui
- Highopen-webui Vulnerable to Stored XSS via Model Descriptionopen-webui, open-webui
- HighOpen WebUI Vulnerable to Stored DOM XSS via Note 'Download PDF'open-webui
- HighOpen WebUI Affected by an External Model Server (Direct Connections) Code Injection via SSE Eventsopen-webui, open-webui
- HighOpen WebUI vulnerable to Stored DOM XSS via prompts when 'Insert Prompt as Rich Text' is enabled resulting in ATO/RCEopen-webui, open-webui
The impact, patch and workaround text comes from the advisory, shortened (GitHub Advisory Database, CC BY 4.0). Proof-of-concept and reproduction sections and code are left out; the original advisory has them.