CVE-2026-26192
Stored XSS in Open WebUI Chat Metadata Allows Remote Code Execution
Publication date: 2026-02-19
Last updated on: 2026-02-20
Assigner: GitHub, Inc.
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| openwebui | open_webui | to 0.7.0 (exc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-79 | 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. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability exists in Open WebUI versions prior to 0.7.0. It occurs because manually modifying chat history allows an attacker to set the `html` property within document metadata. This causes the frontend to treat the document contents as HTML and render them inside an iFrame when the citation is previewed. As a result, a stored cross-site scripting (XSS) attack can be executed via a specially crafted document payload in a chat.
The malicious payload also executes when the citation is viewed on a shared chat, potentially affecting multiple users.
The issue was fixed in version 0.7.0 of Open WebUI.
What immediate steps should I take to mitigate this vulnerability?
To mitigate this vulnerability, you should upgrade Open WebUI to version 0.7.0 or later, as this version fixes the issue.
How can this vulnerability impact me? :
This vulnerability can lead to stored cross-site scripting (XSS) attacks, which may allow an attacker to execute arbitrary code in the context of the victim's browser when they view the malicious citation.
- Compromise of user data confidentiality and integrity.
- Potential unauthorized actions performed on behalf of the user.
- Exposure to further attacks such as session hijacking or phishing.
Since the payload executes when viewing shared chats, multiple users can be affected, increasing the scope of impact.
How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:
I don't know
How can this vulnerability be detected on my network or system? Can you suggest some commands?
I don't know