CVE-2026-54011

High

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.

SeverityHigh
CVSS8.7
Exploit probability—
ProductOpenwebui Open Webui
PublishedJun 23, 2026
First seenJun 23, 2026

How to fix

Update
  • openwebui open_webui0.9.6 or later
  • open-webui0.9.6 or later

Affected products

ProductAffected versionsFixed in
openwebui open_webuiv < 0.9.60.9.6
open-webuiPyPIv < 0.9.60.9.6

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.