high8.7
CVE-2026-54011
Open WebUI is a self-hosted artificial intelligence platform designed to operate entirely offline.
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pip | open-webui | <= 0.9.5 | 0.9.6 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Openwebui | Open Webui | before 0.9.6 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-v8qj-hxv7-mgvv
- https://github.com/open-webui/open-webui/security/advisories/GHSA-v8qj-hxv7-mgvv
- https://nvd.nist.gov/vuln/detail/CVE-2026-54011
- https://github.com/open-webui/open-webui
- https://github.com/pypa/advisory-database/tree/main/vulns/open-webui/PYSEC-2026-2759.yaml
- https://pypi.org/project/open-webui