Skip to content

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

MediumCVSS 5.4 EPSS 0.40%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial

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.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
openwebui open webui >= 0.10.0, < 0.11.0 0.11.0 Fixed
pypi open-webui(PyPI) = 0.10.0; = 0.10.1; = 0.10.2; >= 0.10.0, < 0.11.0 0.11.0 Fixed
open-webui = >= 0.10.0, < 0.11.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
open-webui = >= 0.10.0, < 0.11.0 No fix listed
pypi open-webui(PyPI) >= 0.10.0, < 0.11.0 0.11.0
pypi open-webui(PyPI) = 0.10.0 No fix listed
pypi open-webui(PyPI) = 0.10.1 No fix listed
pypi open-webui(PyPI) = 0.10.2 No fix listed
openwebui open webui >= 0.10.0, < 0.11.0 0.11.0

References