{"id":"CVE-2026-70486","published":"2026-08-04T20:01:55Z","modified":"2026-08-05T14:29:05Z","title":"Open WebUI: Same-origin XSS to account takeover via terminal file-preview iframe hardcoding allow-same-origin","vendor":"open-webui","product":"open-webui","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.2,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0038,"percentile":0.32799,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"},{"id":"CWE-1021","name":"Improper Restriction of Rendered UI Layers or Frames"}],"references":[{"url":"https://github.com/open-webui/open-webui/security/advisories/GHSA-3xpf-xq7r-v8c5","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/open-webui/open-webui/pull/26907","tags":["x_refsource_MISC"]},{"url":"https://github.com/open-webui/open-webui/commit/65a5fad7b97db99d490d81f4e0860282c3a4543c","tags":["x_refsource_MISC"]},{"url":"https://github.com/open-webui/open-webui/releases/tag/v0.11.0","tags":["x_refsource_MISC"]}],"priority":{"score":12.3,"factors":[{"name":"EPSS percentile","points":6.56},{"name":"CVSS severity","points":5.74}]},"vendorSlug":"open-webui","affectedVersions":[{"vendor":"open-webui","product":"open-webui","versions":[">= 0.9.0, < 0.11.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-08-05T13:51:22.908403Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"open-webui","vulnerableRanges":[">=0.9.0, <0.11.0"],"patched":["0.11.0"],"from":["GHSA-3xpf-xq7r-v8c5","PYSEC-2026-3641"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-52893","exploited":false,"provenance":"source"}}