{"id":"CVE-2026-87995","published":"2026-09-09T21:26:30Z","modified":"2026-09-10T17:54:56Z","title":"Open WebUI: Same-origin XSS to account takeover via terminal port-preview iframe hardcoding allow-same-origin","vendor":"open-webui","product":"open-webui","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.7,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00417,"percentile":0.36878,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"},{"id":"CWE-1021","name":"Improper Restriction of Rendered UI Layers or Frames"}],"references":[{"url":"https://github.com/open-webui/open-webui/security/advisories/GHSA-jmc6-2wr8-h3wj","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/open-webui/open-webui/commit/54d7a223707f03172efbb9e754db6e69709956d0","tags":["x_refsource_MISC"]},{"url":"https://github.com/open-webui/open-webui/releases/tag/v0.11.1","tags":["x_refsource_MISC"]}],"priority":{"score":13.5,"factors":[{"name":"EPSS percentile","points":7.38},{"name":"CVSS severity","points":6.09}]},"vendorSlug":"open-webui","affectedVersions":[{"vendor":"open-webui","product":"open-webui","versions":[">= 0.8.11, < 0.11.1"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-09-10T17:54:14.915324Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"open-webui","vulnerableRanges":[">=0.8.11, <0.11.1"],"patched":["0.11.1"],"from":["GHSA-jmc6-2wr8-h3wj","PYSEC-2026-4123"],"provenance":"source"}],"summary":{"text":"Open WebUI's PortPreview.svelte component (versions 0.8.11 through 0.11.1) renders terminal port content in an iframe whose sandbox includes both allow-scripts and allow-same-origin, so previewed content runs with the Open WebUI origin. An attacker with a low-privilege authenticated account on a shared terminal server, and who can get a victim to open the port preview (user interaction required), can run script as the victim and take over their account.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:39:14Z"},"euvd":{"id":"EUVD-2026-75179","exploited":false,"provenance":"source"}}