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.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.
AI Analysis
Stored XSS vulnerability in Mermaid Markdown preview
Basic Information
ID
CVE-2026-54011
Source
GitHub_M
Published
Jun 23, 2026 at 16:47
Modified
Jun 23, 2026 at 17:55
Affected Product
Vendor
open-webui
Product
open-webui
Version
< 0.9.6
Affected Versions
open-webui open-webui < 0.9.6
CWE Classification
AI Assessment
AI Score
8.7 / 10
AI Severity
High
Vendor
Open WebUI
Product
Open WebUI
Version
< 0.9.6