PyPA Advisory Database
PYSEC-2026-1736
Open WebUI Vulnerable to Cross-Site Scripting (XSS) via Chat File Upload
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | open-webui | All versions before 0.3.33 (fixed in 0.3.33) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-7044
- https://github.com/open-webui/open-webui
- https://huntr.com/bounties/c25a885c-d6e2-4169-9ee8-4d33bcbb5ef6
- https://pypi.org/project/open-webui
- https://github.com/advisories/GHSA-j274-m559-cj4j
- https://github.com/open-webui/open-webui/commit/0da0e12096cc771ce4359c163e03c5a754d95c5e