CVE-2026-70492
MEDIUM 5.4CVSS 3.1Open WebUI: Stored XSS via unescaped KaTeX render-error fallback in rendered messages
Open WebUI is an extensible, feature-rich, and user-friendly self-hosted AI platform. From 0.10.0 until 0.11.0, src/lib/components/chat/Messages/Markdown/KatexRenderer.svelte could store and render a chat message whose math block makes KaTeX fail with a stack overflow instead of a parse error. The catch branch fell back to inserting the original math source into the page as HTML through {@html} rather than as text, so script in the message runs in the browser of whoever views it, including shared chats and channels. The viewer's session token in localStorage can be stolen, and an administrator viewer can have their account taken over. This issue is fixed in 0.11.0.
- Published
- 4 Aug 2026
- Last modified
- 18 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-79
- Also known as
- GHSA-pwxh-7358-jq2xPYSEC-2026-3650
- Sources
- NVDJSONOSV GHSA-pwxh-7358-jq2xJSONOSV PYSEC-2026-3650JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 8.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N |
| OSV | PyPA | CVSS 3.1 | HIGH 8.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | openwebui | open_webuicpe:2.3:a:openwebui:open_webui:*:*:*:*:*:*:*:* |
>= 0.10.0, < 0.11.0 | 0.11.0 |
| OSV | PyPI | open-webui | >= 0.10.0, < 0.11.0 | 0.11.0 |
References
- https://github.com/open-webui/open-webui/commit/bc600d3f085802c45aa8f38c30e6e8c986bde6cc · Patch, WEB
- https://github.com/open-webui/open-webui/pull/26718 · Patch, Vendor Advisory, WEB
- https://github.com/open-webui/open-webui/releases/tag/v0.11.0 · Release Notes, WEB
- https://github.com/open-webui/open-webui/security/advisories/GHSA-pwxh-7358-jq2x · Exploit, Patch, Vendor Advisory, WEB
- https://github.com/open-webui/open-webui · PACKAGE
- https://pypi.org/project/open-webui · PACKAGE
- https://github.com/advisories/GHSA-pwxh-7358-jq2x · ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2026-70492 · ADVISORY
History
- 25 Nov 2026 21:04 UTC · NVD: first stored (published 4 Aug 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 10 Aug 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 4 Aug 2026)