Skip to content
HighVulnerability

GHSA-pwxh-7358-jq2x: Open WebUI: Stored XSS via unescaped KaTeX render-error fallback in rendered messages

Published
Record updated
View JSON
Affected
  • open-webui >= 0.10.0, < 0.11.0
Fixed in
0.11.0
  • released July 27, 2026, 8 days before disclosure
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.3%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

Open WebUI releases 0.10.0 through 0.10.2 contain a stored XSS flaw in the KaTeX render-error fallback in src/lib/components/chat/Messages/Markdown/KatexRenderer.svelte. A user with a normal account can store a math block that triggers a stack overflow, causing the original source to be inserted as HTML via {@html}, so script runs in the browser of anyone who views it, including shared chats and channels, with session token theft and administrator takeover possible if an admin is the viewer.

Mitigation

Fixed in 0.11.0 by commit bc600d3f0 (PR #26718), which HTML-escapes the math source on the error path. Upgrading fully resolves the issue; no configuration change is needed.