Open WebUI has Stored XSS in Banner Component via Improper Sanitization Order
CVE-2026-45665 · GHSA-cqp4-qqvg-3787 · published 2026-05-14 · updated 2026-05-19
- Severity
- High
- CVSS score
- 8.1
- Chance of exploitation (EPSS)
- 0.34%
- Fixed in
- 0.8.0
- Exploitation Public proof of concept
- Automatable No
- Technical impact Total
- CISA SSVC
Extend permissions and damage to the entire system. You need administrator privileges to create banners, but this vulnerability is important because it can attack primary administrators and other administrators. Destination: Other Administrators /Primary Administrators. Attack Vector: Corrupting all administrator accounts (even those with limited scope if future granular privileges exist or simply credentials are compromised) could allow an attacker to set traps for the default administrator. …
Upgrade open-webui to 0.8.0 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.
Modify src/lib/components/common/Banner.svelte (Line 103): Fixed in v0.8.0. now applies the sanitization in the correct order: DOMPurify.sanitize(marked.parse(...)). Users on >= 0.8.0 are not affected.
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| open-webui | npm | <= 0.7.2 | 0.8.0 |
- 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: 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
- HighOpen WebUI Unauthenticated Multipart Boundary Denial of Service (DoS) Vulnerabilityopen-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.