VDB
KO
MEDIUM 6.8

PYSEC-2026-1736

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

Quick fix

PYSEC-2026-1736 — open-webui: upgrade to the fixed version with the command below.

pip install --upgrade 'open-webui>=0.3.33'

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI / open-webui
Introduced in: 0 Fixed in: 0.3.33
Fix pip install --upgrade 'open-webui>=0.3.33'

References