CVE-2026-87995
HIGH 8.7CVSS 3.1Open WebUI: Same-origin XSS to account takeover via terminal port-preview iframe hardcoding allow-same-origin
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.
- Published
- 9 Sep 2026
- Last modified
- 1 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-1021CWE-79
- Also known as
- GHSA-jmc6-2wr8-h3wjPYSEC-2026-4123
- Sources
- NVDJSONOSV GHSA-jmc6-2wr8-h3wjJSONOSV PYSEC-2026-4123JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 8.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N |
| OSV | PyPA | CVSS 3.1 | HIGH 8.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | openwebui | open_webuicpe:2.3:a:openwebui:open_webui:*:*:*:*:*:*:*:* |
>= 0.8.11, < 0.11.1 | 0.11.1 |
| OSV | PyPI | open-webui | >= 0.8.11, < 0.11.1 | 0.11.1 |
References
- https://github.com/open-webui/open-webui/commit/54d7a223707f03172efbb9e754db6e69709956d0 · Patch, WEB
- https://github.com/open-webui/open-webui/releases/tag/v0.11.1 · Release Notes, WEB
- https://github.com/open-webui/open-webui/security/advisories/GHSA-jmc6-2wr8-h3wj · Exploit, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-87995 · ADVISORY
- https://github.com/open-webui/open-webui · PACKAGE
- https://pypi.org/project/open-webui · PACKAGE
- https://github.com/advisories/GHSA-jmc6-2wr8-h3wj · ADVISORY
History
- 25 Nov 2026 21:05 UTC · NVD: first stored (published 9 Sep 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 1 Oct 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 10 Sep 2026)