Browse / Improper Output Handling / CVE-2024-6706
Open WebUI Stored Cross-Site Scripting Vulnerability
- Class
- Improper Output Handling (filed by a model that read the advisory)
- Technique
- Cross-site scripting
- Also involves
- Direct Prompt Injection
- Affected
- open-webui (PyPI)
- CVSS
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- EPSS
- 0.7% chance of exploitation in 30 days
How it works, in short
A crafted prompt makes the model emit JavaScript that the web interface renders unsanitised in the victim's page. (Our summary, written by a model. The source text is below.)
Details
Attackers can craft a malicious prompt that coerces the language model into executing arbitrary JavaScript in the context of the web page.
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-6706
- https://github.com/open-webui/open-webui
- https://github.com/pypa/advisory-database/tree/main/vulns/open-webui/PYSEC-2026-1722.yaml
- https://korelogic.com/Resources/Advisories/KL-001-2024-005.txt
- https://pypi.org/project/open-webui
Source: GitHub Advisory Database, used under CC BY 4.0.