CVE-2026-87995
Open WebUI: Same-origin XSS to account takeover via terminal port-preview iframe hardcoding allow-same-origin
Description
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.
INFO
Published Date :
Sept. 9, 2026, 10:18 p.m.
Last Modified :
Sept. 16, 2026, 3:14 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 3.1 | HIGH | [email protected] |
Solution
- Update Open WebUI to version 0.11.1 or later.
- Review related security configurations.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-87995.
| URL | Resource |
|---|---|
| https://github.com/open-webui/open-webui/commit/54d7a223707f03172efbb9e754db6e69709956d0 | Patch |
| https://github.com/open-webui/open-webui/releases/tag/v0.11.1 | Release Notes |
| https://github.com/open-webui/open-webui/security/advisories/GHSA-jmc6-2wr8-h3wj | Exploit Vendor Advisory |
| https://github.com/open-webui/open-webui/security/advisories/GHSA-jmc6-2wr8-h3wj | Exploit Vendor Advisory |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-87995 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-87995
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-87995 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-87995 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Sep. 16, 2026
Action Type Old Value New Value Added CPE Configuration OR *cpe:2.3:a:openwebui:open_webui:*:*:*:*:*:*:*:* versions from (including) 0.8.11 up to (excluding) 0.11.1 Added Reference Type GitHub, Inc.: https://github.com/open-webui/open-webui/commit/54d7a223707f03172efbb9e754db6e69709956d0 Types: Patch Added Reference Type GitHub, Inc.: https://github.com/open-webui/open-webui/releases/tag/v0.11.1 Types: Release Notes Added Reference Type CISA-ADP: https://github.com/open-webui/open-webui/security/advisories/GHSA-jmc6-2wr8-h3wj Types: Exploit, Vendor Advisory Added Reference Type GitHub, Inc.: https://github.com/open-webui/open-webui/security/advisories/GHSA-jmc6-2wr8-h3wj Types: Exploit, Vendor Advisory -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Sep. 10, 2026
Action Type Old Value New Value Added Reference https://github.com/open-webui/open-webui/security/advisories/GHSA-jmc6-2wr8-h3wj Added SSVC {'id': 'CVE-2026-87995', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'poc'}, {'automatable': 'no'}, {'technicalImpact': 'total'}], 'version': '2.0.3', 'timestamp': '2026-09-10T17:54:14.915324Z'} -
New CVE Received by [email protected]
Sep. 09, 2026
Action Type Old Value New Value Added Description 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. Added CVSS V3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N Added CWE CWE-79 Added CWE CWE-1021 Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/87xxx/CVE-2026-87995.json">CVE-2026-87995</a> Added Reference https://github.com/open-webui/open-webui/commit/54d7a223707f03172efbb9e754db6e69709956d0 Added Reference https://github.com/open-webui/open-webui/releases/tag/v0.11.1 Added Reference https://github.com/open-webui/open-webui/security/advisories/GHSA-jmc6-2wr8-h3wj