{"id":"CVE-2026-87995","summary":"Open WebUI: Same-origin XSS to account takeover via terminal port-preview iframe hardcoding allow-same-origin","details":"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.","aliases":["GHSA-jmc6-2wr8-h3wj"],"modified":"2026-09-11T03:48:40.503470033Z","published":"2026-09-09T21:26:30.890Z","database_specific":{"cwe_ids":["CWE-1021","CWE-79"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/87xxx/CVE-2026-87995.json","cna_assigner":"GitHub_M"},"references":[{"type":"WEB","url":"https://github.com/open-webui/open-webui/releases/tag/v0.11.1"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/87xxx/CVE-2026-87995.json"},{"type":"ADVISORY","url":"https://github.com/open-webui/open-webui/security/advisories/GHSA-jmc6-2wr8-h3wj"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-87995"},{"type":"FIX","url":"https://github.com/open-webui/open-webui/commit/54d7a223707f03172efbb9e754db6e69709956d0"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/open-webui/open-webui","events":[{"introduced":"4d058a125b17eb57212af5eab98d683548d546e3"},{"fixed":"54d7a223707f03172efbb9e754db6e69709956d0"},{"fixed":"d3e8bf3405e848cfba377814d0aa7ba7290e414d"}],"database_specific":{"source":["AFFECTED_FIELD","REFERENCES"],"extracted_events":[{"introduced":"0.8.11"},{"fixed":"0.11.1"}]}}],"versions":["v0.11.0","v0.10.2","v0.10.1","v0.10.0","v0.9.5","v0.9.4","v0.9.3","v0.9.2","v0.9.1","v0.9.0","v0.8.12","v0.8.11"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-87995.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N"}]}