Open WebUIPublished 23 Jun 2026NVD 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
< 0.9.6
from the GitHub-reviewed advisory GHSA-v8qj-hxv7-mgvv
Fixed in0.9.6
WeaknessCWE-79
CISA KEVnot listed

Versions, checked against NVD

NVD's analysis gives the same ranges as the GitHub-reviewed advisory GHSA-v8qj-hxv7-mgvv.

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.

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