High severity8.7NVD Advisory· Published Jun 23, 2026· Updated Jun 25, 2026
CVE-2026-54011
CVE-2026-54011
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 Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
open-webuiPyPI | < 0.9.6 | 0.9.6 |
Affected products
2cpe:2.3:a:openwebui:open_webui:*:*:*:*:*:*:*:*+ 1 more
- cpe:2.3:a:openwebui:open_webui:*:*:*:*:*:*:*:*range: <0.9.6
- (no CPE)range: <0.9.6
Patches
Vulnerability mechanics
References
5- github.com/open-webui/open-webui/security/advisories/GHSA-v8qj-hxv7-mgvvnvdExploitMitigationVendor AdvisoryWEB
- github.com/advisories/GHSA-v8qj-hxv7-mgvvghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-54011ghsaADVISORY
- github.com/pypa/advisory-database/tree/main/vulns/open-webui/PYSEC-2026-2759.yamlghsaWEB
- pypi.org/project/open-webuighsaWEB
News mentions
1- Open WebUI: 16 CVEs Disclosed in Single-Day Batch, Many Bypassing Earlier PatchesVypr Intelligence · Jun 17, 2026