{"id":"CVE-2026-70486","summary":"Open WebUI: Same-origin XSS to account takeover via terminal file-preview iframe hardcoding allow-same-origin","details":"Open WebUI is an extensible, feature-rich, and user-friendly self-hosted AI platform. From 0.9.0 until 0.11.0, the terminal file-preview serveUrl iframe branch always granted allow-same-origin together with allow-scripts for HTML files served from the application origin. Any authenticated user with access to a configured terminal server could cause script in a previewed file to run in the Open WebUI origin, read the victim's session token from localStorage, and take over the account, with possible server-side code execution if the victim was an admin or held workspace.functions. This issue is fixed in 0.11.0.","aliases":["GHSA-3xpf-xq7r-v8c5","PYSEC-2026-3641"],"modified":"2026-08-10T11:40:42.540079733Z","published":"2026-08-04T20:01:55.319Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/70xxx/CVE-2026-70486.json","cna_assigner":"GitHub_M","cwe_ids":["CWE-1021","CWE-79"]},"references":[{"type":"WEB","url":"https://github.com/open-webui/open-webui/releases/tag/v0.11.0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/70xxx/CVE-2026-70486.json"},{"type":"ADVISORY","url":"https://github.com/open-webui/open-webui/security/advisories/GHSA-3xpf-xq7r-v8c5"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-70486"},{"type":"FIX","url":"https://github.com/open-webui/open-webui/commit/65a5fad7b97db99d490d81f4e0860282c3a4543c"},{"type":"FIX","url":"https://github.com/open-webui/open-webui/pull/26907"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/open-webui/open-webui","events":[{"introduced":"f31768e20e5c6b4f6da0ef657877298b359936cf"},{"fixed":"65a5fad7b97db99d490d81f4e0860282c3a4543c"},{"fixed":"f9590b8017199e56d5e953657e6498e3cef1d246"}],"database_specific":{"extracted_events":[{"introduced":"0.9.0"},{"fixed":"0.11.0"}],"source":["AFFECTED_FIELD","REFERENCES"]}}],"versions":["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"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-70486.json"}}],"schema_version":"1.8.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N"}]}