# CVE-2026-70492: Open WebUI: Stored XSS via unescaped KaTeX render-error fallback in rendered messages

- Severity: High 8.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 19% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-04T20:53:36.141Z
- Modified: 2026-09-18T14:47:07.620Z
- Also known as: GHSA-pwxh-7358-jq2x, PYSEC-2026-3650
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- open-webui open-webui: >= 0.10.0, < 0.11.0
- open-webui (PyPI): from 0.10.0 before 0.11.0
- openwebui open_webui: from 0.10.0 before 0.11.0

## Every score

- GitHub_M: CVSS:3.1 8.7 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N`
- GitHub: CVSS:3.1 8.7 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- PyPA Advisory Database: CVSS:3.1 8.7 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N`

## References

- <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/pull/26718> (patch, vendor-advisory, web)
- <https://github.com/open-webui/open-webui/commit/bc600d3f085802c45aa8f38c30e6e8c986bde6cc> (patch, web)
- <https://github.com/open-webui/open-webui/releases/tag/v0.11.0> (release-notes, 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)

## Sources

- CVE List: [CVE-2026-70492](https://www.cve.org/CVERecord?id=CVE-2026-70492), CVE Terms of Use, modified 2026-08-05
- GitHub Advisory Database: [GHSA-pwxh-7358-jq2x](https://github.com/advisories/GHSA-pwxh-7358-jq2x), CC-BY-4.0, modified 2026-08-10
- NVD: [CVE-2026-70492](https://nvd.nist.gov/vuln/detail/CVE-2026-70492), Public domain, modified 2026-09-18
- PyPA Advisory Database: [PYSEC-2026-3650](https://osv.dev/vulnerability/PYSEC-2026-3650), CC-BY-4.0, modified 2026-08-10

---

Page: https://cve.day/CVE-2026-70492 · Whole record: https://cve.day/CVE-2026-70492.json · Rebuilt by cve.day 2026-11-25T22:59:31.027Z
