Stored XSS in open-webui/open-webui
Description
A Stored Cross-Site Scripting (XSS) vulnerability exists in the chat file upload functionality of open-webui/open-webui version 0.3.8. An attacker can inject malicious content into a file, which, when accessed by a victim through a URL or shared chat, executes JavaScript in the victim's browser. This can lead to user data theft, session hijacking, malware distribution, and phishing attacks.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Stored XSS in open-webui/open-webui v0.3.8 via malicious file upload in chat, enabling session hijacking and data theft.
Vulnerability
A Stored Cross-Site Scripting (XSS) vulnerability exists in the chat file upload functionality of open-webui/open-webui version 0.3.8 [2]. The root cause is insufficient sanitization of file content, allowing an attacker to inject malicious JavaScript into a file that is later served to other users [2].
Exploitation
An attacker can upload a file containing malicious script through the chat interface. When a victim accesses the file via a shared URL or within a chat conversation, the injected JavaScript executes in the victim's browser [2]. No special privileges are required beyond the ability to upload files, making this a low-barrier attack vector.
Impact
Successful exploitation can lead to user data theft, session hijacking, malware distribution, and phishing attacks [2]. Because the XSS is stored, the malicious payload persists and can affect multiple victims over time.
Mitigation
As of the publication date, version 0.3.8 is confirmed vulnerable. Users should update to a patched version if available, and administrators may consider restricting file upload capabilities or applying input validation as a workaround [1].
AI Insight generated on May 20, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
open-webuiPyPI | <= 0.3.8 | — |
Affected products
3- Range: =0.3.8
- open-webui/open-webui/open-webuiv5Range: unspecified
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
3News mentions
0No linked articles in our index yet.