CVE-2026-26192
Received Received - Intake
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
Open WebUI is a self-hosted artificial intelligence platform designed to operate entirely offline. Prior to version 0.7.0, aanually modifying chat history allows setting the `html` property within document metadata. This causes the frontend to enter a code path that treats document contents as HTML, and render them in an iFrame when the citation is previewed. This allows stored XSS via a weaponized document payload in a chat. The payload also executes when the citation is viewed on a shared chat. Version 0.7.0 fixes the issue.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-02-19
Last Modified
2026-02-20
Generated
2026-05-07
AI Q&A
2026-02-19
EPSS Evaluated
2026-05-05
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
openwebui open_webui to 0.7.0 (exc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
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


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart