CVE-2026-109291: Open WebUI: stored XSS via citation URL steals tokens
HIGHOpen WebUI versions 0.6.33 through 0.11.3 contain a stored cross-site scripting flaw: an authenticated user can plant a javascript: URL in a citation's embed_url field, and it executes in the victim's session when the citation is clicked. Because the payload runs in the Open WebUI origin, it can read localStorage.token and act as the victim, including an administrator, which makes this an account takeover path (CVSS 7.3, high). Exploitation needs a low-privileged account and one click, and the attacker delivers the payload by sharing a crafted chat. No EPSS score, public exploit, Nuclei template or KEV listing exists yet, and only 3 downstream dependents are tracked, but the package has 186 other CVEs, which points to a weak security track record. Upgrade to 0.11.4 or later, review shared chats for citations with javascript: URLs, and restrict chat sharing and account creation until you have patched.
What is the risk?
High. The attack is network-based, low complexity and needs only a low-privileged account plus one user click (CVSS 7.3). Confidentiality and integrity impact are both high, because a stolen session token gives full impersonation. Risk rises sharply for multi-user deployments where admins view shared chats, since an admin token compromise can expose all users' conversations, API keys, connected model backends and configuration. Single-user, non-shared instances have much lower exposure. There is no known active exploitation, no KEV listing, no public exploit and no EPSS data, so likelihood is moderate for now. The simple, well-understood XSS technique makes weaponization easy once details are public.
How does the attack unfold?
What systems are affected?
| Package | Ecosystem | Vulnerable Range | Patched |
|---|---|---|---|
| Open WebUI | pip | — | No patch |
Do you use Open WebUI? You're affected.
How severe is it?
What is the attack surface?
What should I do?
1 step1) Upgrade open-webui (pip) to 0.11.4 or later. 2) Until patched, disable or restrict chat sharing, limit sign-ups, and avoid opening citations from shared chats created by untrusted users. 3) Add a strict Content Security Policy at the reverse proxy that blocks javascript: URL navigation where possible, and keep the Open WebUI origin separate from other sensitive apps. 4) Search the database for chats and citation records whose embed_url begins with javascript: (case-insensitive, allowing whitespace or encoding tricks), and review who shared them. 5) If you suspect abuse, force logout, rotate sessions and tokens, and rotate upstream API keys stored in Open WebUI. 6) Monitor for unusual API calls using one token from new IPs or user agents, and for admin actions that follow shared-chat views.
What does CISA's SSVC say?
Source: CISA Vulnrichment (SSVC v2.0). Decision based on the CISA Coordinator decision tree.
How is it classified?
Which compliance frameworks are affected?
This CVE is relevant to:
Frequently Asked Questions
What is CVE-2026-109291?
Open WebUI versions 0.6.33 through 0.11.3 contain a stored cross-site scripting flaw: an authenticated user can plant a javascript: URL in a citation's embed_url field, and it executes in the victim's session when the citation is clicked. Because the payload runs in the Open WebUI origin, it can read localStorage.token and act as the victim, including an administrator, which makes this an account takeover path (CVSS 7.3, high). Exploitation needs a low-privileged account and one click, and the attacker delivers the payload by sharing a crafted chat. No EPSS score, public exploit, Nuclei template or KEV listing exists yet, and only 3 downstream dependents are tracked, but the package has 186 other CVEs, which points to a weak security track record. Upgrade to 0.11.4 or later, review shared chats for citations with javascript: URLs, and restrict chat sharing and account creation until you have patched.
Is CVE-2026-109291 actively exploited?
No confirmed active exploitation of CVE-2026-109291 has been reported, but organizations should still patch proactively.
How to fix CVE-2026-109291?
1) Upgrade open-webui (pip) to 0.11.4 or later. 2) Until patched, disable or restrict chat sharing, limit sign-ups, and avoid opening citations from shared chats created by untrusted users. 3) Add a strict Content Security Policy at the reverse proxy that blocks javascript: URL navigation where possible, and keep the Open WebUI origin separate from other sensitive apps. 4) Search the database for chats and citation records whose embed_url begins with javascript: (case-insensitive, allowing whitespace or encoding tricks), and review who shared them. 5) If you suspect abuse, force logout, rotate sessions and tokens, and rotate upstream API keys stored in Open WebUI. 6) Monitor for unusual API calls using one token from new IPs or user agents, and for admin actions that follow shared-chat views.
What systems are affected by CVE-2026-109291?
This vulnerability affects the following AI/ML architecture patterns: LLM chat front ends, RAG pipelines, Model serving gateways, Multi-user self-hosted AI platforms.
What is the CVSS score for CVE-2026-109291?
CVE-2026-109291 has a CVSS v3.1 base score of 7.3 (HIGH). The EPSS exploitation probability is 0.28%.
What is the AI security impact?
Affected AI Architectures
MITRE ATLAS Techniques
AML.T0011.003Malicious LinkAML.T0049Exploit Public-Facing ApplicationAML.T0067.000CitationsAML.T0091.000Application Access TokenCompliance Controls Affected
What are the technical details?
Original Advisory
Open WebUI from 0.6.33 before 0.11.4 contains a cross-site scripting vulnerability that allows authenticated users to execute script in victims' sessions by storing javascript: URLs in citation embed_url fields. Attackers can share a crafted chat whose citation, when clicked, is passed to window.open, letting them steal localStorage.token and act as the victim.
Exploitation Scenario
An attacker with a low-privilege account on a company's internal Open WebUI creates a chat whose citation embed_url contains a javascript: payload that reads localStorage.token and sends it to an attacker-controlled server. They share the chat with an administrator, saying it holds a useful answer with sources. The admin clicks the citation, the payload runs through window.open in the application's origin, and the token is exfiltrated. The attacker replays the token to authenticate as the admin, then reads other users' chats and RAG knowledge bases, extracts upstream LLM API keys and changes settings or tools.
Weaknesses (CWE)
CWE-79 — Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'): The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.
- [Architecture and Design] Use a vetted library or framework that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid [REF-1482]. Examples of libraries and frameworks that make it easier to generate properly encoded output include Microsoft's Anti-XSS library, the OWASP ESAPI Encoding module, and Apache Wicket.
- [Implementation, Architecture and Design] Understand the context in which your data will be used and the encoding that will be expected. This is especially important when transmitting data between different components, or when generating outputs that can contain multiple encodings at the same time, such as web pages or multi-part mail messages. Study all expected communication protocols and data representations to determine the required encoding strategies. For any data that will be output to another web page, especially any data that was received from external inputs, use the appropriate encoding on all non-alphanumeric characters. Parts of the same output document may require different encodings, which will vary depending on whether the output is in the: etc. Note that HTML Entity Encoding is only appropriate for the HTML body. Consult the XSS Prevention Cheat Sheet [REF-724] for more details on the types of encoding and escaping that are needed. HTML body Element attributes (such as src="XYZ") URIs JavaScript sections Casca
Source: MITRE CWE corpus.
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:NReferences
Timeline
Related Vulnerabilities
CVE-2026-445519.1open-webui: LDAP auth bypass — full account takeover
Same package: open-webuiCVE-2026-456728.8open-webui: code exec gate bypass via API endpoint
Same package: open-webuiCVE-2026-445528.7open-webui: Redis cache poisoning enables cross-instance tool hijack
Same package: open-webuiCVE-2025-644958.7Open WebUI: XSS-to-RCE via malicious prompt injection
Same package: open-webuiCVE-2026-453158.7open-webui: stored XSS → JWT theft and admin takeover
Same package: open-webui