Open WebUI Vulnerable to Cross-Site Scripting (XSS) via Chat File Upload
Date: 2025-03
Affected: pip/open-webui
Attack vector: xss
Category: vulnerability-disclosure
Severity: Medium
CVE: CVE-2024-7044
CWE: CWE-79
CVSS: 6.8 (CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N)

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.


Mitigations:

Architectural layers (MAESTRO):