{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-87995","id":"CVE-2026-87995","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 se","descriptionLong":"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","updated":"2026-10-28T02:30:51.082398811Z","reserved":"2026-09-09T19:19:27.405Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":8.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":8.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","rating":"high","source":"GitHub_M"},{"version":"3.1","score":8.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","rating":"high","source":"github.com"},{"version":"3.1","score":8.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","rating":"high","source":"OSV"},{"version":"3.1","score":8.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","rating":"high","source":"GitHub"}],"rating":"high","products":["open-webui"],"affectedProducts":[{"vendor":"open-webui","product":"open-webui","defaultStatus":null,"versions":[{"version":">= 0.8.11, < 0.11.1","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"open-webui","purl":"pkg:pypi/open-webui","ranges":[">=0.8.11 <0.11.1"],"fixed":["0.11.1"],"advisory":"GHSA-jmc6-2wr8-h3wj"}],"cwes":["CWE-79","CWE-1021"],"aliases":["GHSA-jmc6-2wr8-h3wj","PYSEC-2026-4123"],"references":[{"url":"https://github.com/open-webui/open-webui/security/advisories/GHSA-jmc6-2wr8-h3wj","tags":["x_refsource_CONFIRM","exploit","Exploit","Vendor Advisory","advisory","web"]},{"url":"https://github.com/open-webui/open-webui/commit/54d7a223707f03172efbb9e754db6e69709956d0","tags":["x_refsource_MISC","Patch","fix","web"]},{"url":"https://github.com/open-webui/open-webui/releases/tag/v0.11.1","tags":["x_refsource_MISC","Release Notes","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/87xxx/CVE-2026-87995.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-87995","tags":["advisory"]},{"url":"https://github.com/open-webui/open-webui","tags":["package"]},{"url":"https://pypi.org/project/open-webui","tags":["package"]},{"url":"https://github.com/advisories/GHSA-jmc6-2wr8-h3wj","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total"},"epss":0.00417,"epssPercentile":0.36657,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-87995","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-87995","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-87995","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-jmc6-2wr8-h3wj","ok":true,"note":"GHSA-jmc6-2wr8-h3wj"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-87995","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}