GHSA-jmc6-2wr8-h3wj: Open WebUI: Same-origin XSS to account takeover via terminal port-preview iframe hardcoding allow-same-origin
- Identifiers
- CVE-2026-87995GHSA-jmc6-2wr8-h3wj
- Published
- Record updated
- Affected
- open-webui >= 0.8.11, <= 0.11.0
- Fixed in
- 0.11.1
- released August 25, 2026, 16 days before disclosure
Summary
Open WebUI's in-app port preview, implemented in src/lib/components/chat/FileNav/PortPreview.svelte and present from 0.8.11 through 0.11.0, rendered previewed ports in an iframe whose sandbox always included allow-same-origin alongside allow-scripts. Because the terminal proxy serves that content from the application's own origin, a script on a previewed port could read the victim's session token from localStorage, enabling account takeover for any authenticated user with access to a shared terminal server. Personal terminals pointing at an external URL and deployments with no terminal server configured were not affected.
Mitigation
Fixed in 0.11.1 by 54d7a2237. The port preview now gates allow-same-origin behind a terminalPreviewAllowSameOrigin user setting that is off by default; 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