XSS in Open-Webui
CVE-2026-45303
Open WebUI is a self-hosted artificial intelligence platform designed to operate entirely offline. Prior to 0.6.5, through the HTML rendering view, scripts can be injected and executed. The frontend provides a function to visualize the HTML content of a current chat. The content is embedded in an iFrame with the allow-scripts allow-forms allow-same-origin sandbox directive. This means that the content is placed in a sandbox but with permission to execute scripts and access the parent’s data (e.g., local storage). As a result, only a few functions are restricted (e.g., displaying an alert box), but in effect, the sandbox attribute is largely nullified. This vulnerability is fixed in 0.6.5.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.7 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N.
EPSS exploit prediction
EPSS 0.002, 13.3th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Open-Webui — versions < 0.6.5
- Openwebui Open Webui
Weakness classification (CWE)
References
- github.com/open-webui/open-webui/security/advisories/GHSA-4vrc-m9ch-6m3r (Exploit, Mitigation, Vendor Advisory)