high8.7
CVE-2026-87995
Open WebUI: Same-origin XSS to account takeover via terminal port-preview iframe hardcoding allow-same-origin
Impact
Open WebUI is an extensible, feature-rich, and user-friendly self-hosted AI platform. From 0.8.11 until 0.11.1, src/lib/components/chat/FileNav/PortPreview.svelte rendered terminal port content in an iframe sandbox containing both allow-scripts and allow-same-origin. Because the terminal proxy serves that content from the Open WebUI origin, an authenticated user with access to a shared terminal server could host script on a previewed port and take over a victim's account when the victim opened the preview. This issue is fixed in version 0.11.1.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pip | open-webui | >= 0.8.11, <= 0.11.0 | 0.11.1 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Openwebui | Open Webui | from 0.8.11 before 0.11.1 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-jmc6-2wr8-h3wj
- https://github.com/open-webui/open-webui/security/advisories/GHSA-jmc6-2wr8-h3wj
- https://nvd.nist.gov/vuln/detail/CVE-2026-87995
- https://github.com/open-webui/open-webui/commit/54d7a223707f03172efbb9e754db6e69709956d0
- https://github.com/open-webui/open-webui/releases/tag/v0.11.1