highCVSS 8.7NVD status: Analyzed

CVE-2026-54011

Open WebUI is a self-hosted artificial intelligence platform designed to operate entirely offline.

ComponentOpen WebUI
Severityhigh (CVSS 8.7)
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
Published (NVD)2026-06-23
Last modified2026-06-25
Affected versions
open_webui < 0.9.6
Fixed in0.9.6
WeaknessCWE-79
CISA KEVnot listed

NVD 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.

Does CVE-2026-54011 hit the version you run?Paste your docker-compose.yml, requirements.txt or package.json. The scanner checks your pinned versions against this CVE and every other one we track for Open WebUI.
Check my stack

What to do

  • Upgrade Open WebUI to 0.9.6 or later.
  • Do not expose the component's API or UI to the internet without authentication in front of it.

Sources

Read more

Other Open WebUI CVEs

All Open WebUI CVEs