{"id":"CVE-2026-87995","aliases":["GHSA-jmc6-2wr8-h3wj"],"url":"https://o3.security/vulnerability/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.","published":"2026-09-09T21:26:30.890Z","modified":"2026-09-11T03:48:40.503470033Z","cvss":{"score":8.7,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[{"ecosystem":"PyPI","name":"open-webui","fixedVersion":"0.11.1"}],"fix":{"url":"https://github.com/open-webui/open-webui/commit/54d7a223707f03172efbb9e754db6e69709956d0","label":"open-webui/open-webui@54d7a22"},"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"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-09-11T03:48:40.503470033Z"}}