All vulnerabilities

Servers and applications

CVE-2026-70492

Stored XSS via unescaped KaTeX render-error fallback in rendered messages

Severity
Medium 5.4
Published
2 Aug 2026
Last changed
18 Sept 2026
Added to UpHeron
1 Nov 2026
Fixed in
0.11.0
Exploit chance
0.4% in the next 30 daysHigher than 35% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Cross-site scripting (CWE-79)
Attack
Over the network · Needs a user account · Needs someone to click or open something
Attacker can
Read some data · Change some data
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Also known as
GHSA-pwxh-7358-jq2x
Sources
NVD, Project advisories (GitHub)

Description

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.

Default configuration, no flags involved. The attacker needs a normal user account and a way to get the target to open the content: a shared chat link, a channel the target reads, or any other message surface. No admin rights and no non-default settings are required on either side.

Script executes in the viewer's browser on the Open WebUI origin, which puts the session token in localStorage within reach and therefore allows taking over the viewing account.

From open-webui/open-webui's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
Open WebUIServers and applications · cpe:a:openwebui:open_webui
  • From 0.10.0 before 0.11.0
Open WebUIServers and applications · github:open-webui/open-webui
  • From 0.10.0 before 0.11.0

About Open WebUI

self-hosted user interface for artificial intelligence models

From Wikidata, CC0 1.0.
Weekly downloads (PyPI)
355,496PyPI Stats, 15 Nov 2026
Docker Hub pulls
990,663Docker Hub, 15 Nov 2026
GitHub stars
158,684GitHub, 15 Nov 2026
Forks
23,075GitHub, 15 Nov 2026
Latest release
v0.13.3GitHub, 15 Nov 2026
Released
8 Nov 2026GitHub
License
multi-licensingWikidata
First published on GitHub
6 Oct 2023GitHub

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2026-70492
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-70492
  • GitHub Advisory Database https://github.com/advisories/GHSA-pwxh-7358-jq2x
  • github.com https://github.com/open-webui/open-webui/security/advisories/GHSA-pwxh-7358-jq2x