GHSA-3xpf-xq7r-v8c5: Open WebUI: Same-origin XSS to account takeover via terminal file-preview iframe hardcoding allow-same-origin
- Identifiers
- CVE-2026-70486GHSA-3xpf-xq7r-v8c5
- Published
- Record updated
- Affected
- open-webui >= 0.9.0, <= 0.10.2
- Fixed in
- 0.11.0
- released July 27, 2026, 8 days before disclosure
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 0.3%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .
Summary
Open WebUI versions 0.9.0 through 0.10.2 render HTML files served from terminal servers in an iframe whose sandbox always includes `allow-same-origin` alongside `allow-scripts`, via the `serveUrl` branch of `FilePreview.svelte`. An authenticated user with access to a terminal server can have script run in the application origin, reading the victim's session token from `localStorage` for account takeover, with admins or `workspace.functions` holders potentially reaching server-side code execution through Functions.
Mitigation
Fixed in 0.11.0 by 65a5fad7b (#26907). The `serveUrl` preview branch now gates `allow-same-origin` behind the `iframeSandboxAllowSameOrigin` setting; upgrading is sufficient and no configuration change is required.
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