HighVulnerability
GHSA-4vrc-m9ch-6m3r: Open WebUI has stored XSS via the HTML renedering view
- Identifiers
- CVE-2026-45303GHSA-4vrc-m9ch-6m3r
- Published
- Record updated
- Affected
- open-webui < 0.6.5
- Fixed in
- 0.6.5
- released April 14, 2025, 395 days before disclosure
Summary
Open WebUI's HTML rendering view embeds chat HTML in an iFrame with the sandbox directive `allow-scripts allow-forms allow-same-origin`, which largely nullifies the sandbox. A script placed in a chat can run and read the user's `localStorage` token, tested on version 0.5.4. The attacker must trick a user into entering the input, sharing or importing a chat, or displaying an uploaded file, so the report rates Attack Complexity as High.
Mitigation
The iFrame sandbox should be defined more restrictively to prevent scripts from executing with access to the parent's data.
Affected packages in the Exposure Registry
Matched by package name and ecosystem. Each entry shows whether the package delegates to a language model and how many tracked packages depend on it.
- open-webuiPyPILLM dependency since 2024-05-20
Related items
- MediumCVE-2026-143967: Wise Chat with AI unauthenticated stored cross-site scriptingSimilar attack, NVD/CVE Database
- MediumCVE-2026-135917: Apache Camel A2A component confused deputy via shared message headersSimilar attack, NVD/CVE Database
- MediumCVE-2026-107489: Improper Authentication vulnerability in Apache Camel A2A component. This issue affects Apache Camel: from 4.21.0…Similar attack, NVD/CVE Database
- MediumNSA urges immediate post-quantum shift after AI labs report cryptography breakthroughsSimilar attack, CSO Online
- LowPerplexity caught an AI attacker casing its cloudSimilar attack, CSO Online