Skip to content
Open WebUIGHSA-j274-m559-cj4j

Open WebUI Vulnerable to Cross-Site Scripting (XSS) via Chat File Upload

Medium6.8CVE-2024-7044 · Published Mar 20, 2025 · updated Jul 7, 2026

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.

GitHub advisory

Affected versions

PackageAffectedFixed in
open-webui
PyPI
<= 0.3.8No fix yet
Details and references
CVSS 3.0
CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N
Severity from
GitHub (reviewed advisory)
Weakness
CWE-79
Also known as
CVE-2024-7044, PYSEC-2026-1736

More Open WebUI advisories

All Open WebUI
Advisory
Open WebUI Unauthenticated Multipart Boundary Denial of Service (DoS) Vulnerability
High7.5Mar 20, 2025
Open WebUI denial of service through endpoint for converting markdown
High7.5Mar 20, 2025
Open WebUI lacks authentication for the `api/v1/utils/pdf` endpoint
High7.5Mar 20, 2025
Open WebUI allows Remote Code Execution via Arbitrary File Upload to /audio/api/v1/transcriptions
High8.1Mar 20, 2025
Open WebUI stored cross-site scripting (XSS) vulnerability
High8.4Mar 20, 2025
Open WebUI Vulnerable to a Session Fixation Attack
High7.6Mar 20, 2025

Critical advisories by email

Wednesdays: the week’s critical and high advisories in the AI and data stack, with the fixed versions. Only in weeks that have some.

Double opt-in. Unsubscribe any time.