Skip to main content
← All vulnerabilities
CVE-2026-54011PYSEC-2026-2759GHSA-V8QJ-HXV7-MGVV

Open WebUI: Stored XSS in Mermaid Markdown Preview

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.9.6
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • open-webui open-webui

    fixed in 0.9.6

  • open-webuiPyPI

    fixed in 0.9.6

References 1

GitHub · open-webui/open-webui