CVE-2026-70492: Open WebUI: Stored XSS via unescaped KaTeX render-error fallback in rendered messages
Any authenticated user can store a chat message whose math block makes KaTeX fail with a stack overflow instead of a parse error. When that happens the renderer falls back to inserting the original math source into the page as HTML rather than as text, so script in the message runs in the browser of whoever views it. Every surface that renders messages is affected, including shared chats and channels, and the missing control is output escaping on the error path.
References
- github.com/advisories/GHSA-pwxh-7358-jq2x
- github.com/open-webui/open-webui/commit/bc600d3f085802c45aa8f38c30e6e8c986bde6cc
- github.com/open-webui/open-webui/pull/26718
- github.com/open-webui/open-webui/releases/tag/v0.11.0
- github.com/open-webui/open-webui/security/advisories/GHSA-pwxh-7358-jq2x
- nvd.nist.gov/vuln/detail/CVE-2026-70492
Code Behaviors & Features
Detect and mitigate CVE-2026-70492 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →