← back
CVE-2026-54011

Open WebUI: Stored XSS in Mermaid Markdown Preview

CVSS 8.7 HIGHEPSS 0.2%CWE-79
Vexday Risk Score
21Low
SSVC decision (CISA)
Track
No exploitation signal → monitor
CVSS 8.7EPSS 0.2%KEV nãoPoC Nuclei Metasploit Patch
Lifecycle
23 Jun 2026Published on NVD
Recommendation: Monitor — no exploitation signal at the moment.
Open WebUI is a self-hosted artificial intelligence platform designed to operate entirely offline. Prior to 0.9.6,Open WebUI renders Mermaid blocks from Markdown files in the file preview panel and inserts the generated SVG into the DOM using innerHTML. Because Mermaid is configured with securityLevel: 'loose', attacker-controlled Mermaid content can be rendered unsafely in this flow. A working payload was validated through the Markdown preview path, resulting in JavaScript execution in the victim’s browser under the application origin. This vulnerability is fixed in 0.9.6.
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
Affected products
open-webui · open-webui

Want to know if your infrastructure is exposed to this?

Talk to TrueHacking →