{"id":"CVE-2026-87995","state":"PUBLISHED","title":"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.","publishedAt":"2026-09-09T21:26:30.890Z","updatedAt":"2026-09-10T17:54:56.492Z","severity":{"score":8.7,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["open-webui open-webui"],"affected":[{"vendor":"open-webui","product":"open-webui","versions":[{"version":">= 0.8.11, < 0.11.1","status":"affected"}]}],"references":["https://github.com/open-webui/open-webui/security/advisories/GHSA-jmc6-2wr8-h3wj","https://github.com/open-webui/open-webui/commit/54d7a223707f03172efbb9e754db6e69709956d0","https://github.com/open-webui/open-webui/releases/tag/v0.11.1"],"weaknesses":["CWE-79","CWE-1021"],"ingestedAt":"2026-10-29T20:13:26.108Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/87xxx/CVE-2026-87995.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-87995","state":"PUBLISHED","datePublished":"2026-09-09T21:26:30.890Z","dateUpdated":"2026-09-10T17:54:56.492Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-09-09T19:19:27.405Z"},"containers":{"cna":{"title":"Open WebUI: Same-origin XSS to account takeover via terminal port-preview iframe hardcoding allow-same-origin","descriptions":[{"lang":"en","value":"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":[{"vendor":"open-webui","product":"open-webui","versions":[{"version":">= 0.8.11, < 0.11.1","status":"affected"}]}],"references":[{"url":"https://github.com/open-webui/open-webui/security/advisories/GHSA-jmc6-2wr8-h3wj","name":"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","name":"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","name":"https://github.com/open-webui/open-webui/releases/tag/v0.11.1","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":8.7,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","lang":"en","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-1021","lang":"en","description":"CWE-1021: Improper Restriction of Rendered UI Layers or Frames","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-09-09T21:26:30.890Z"},"source":{"advisory":"GHSA-jmc6-2wr8-h3wj","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/open-webui/open-webui/security/advisories/GHSA-jmc6-2wr8-h3wj","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-09-10T17:54:14.915324Z","id":"CVE-2026-87995","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-09-10T17:54:56.492Z"}}]}}}