{"id":"CVE-2026-70486","state":"PUBLISHED","title":"Open WebUI: Same-origin XSS to account takeover via terminal file-preview iframe hardcoding allow-same-origin","description":"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.","publishedAt":"2026-08-04T20:01:55.319Z","updatedAt":"2026-08-05T14:29:05.364Z","severity":{"score":8.2,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["open-webui open-webui"],"affected":[{"vendor":"open-webui","product":"open-webui","versions":[{"version":">= 0.9.0, < 0.11.0","status":"affected"}]}],"references":["https://github.com/open-webui/open-webui/security/advisories/GHSA-3xpf-xq7r-v8c5","https://github.com/open-webui/open-webui/pull/26907","https://github.com/open-webui/open-webui/commit/65a5fad7b97db99d490d81f4e0860282c3a4543c","https://github.com/open-webui/open-webui/releases/tag/v0.11.0"],"weaknesses":["CWE-79","CWE-1021"],"ingestedAt":"2026-10-29T20:12:49.727Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/70xxx/CVE-2026-70486.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-70486","state":"PUBLISHED","datePublished":"2026-08-04T20:01:55.319Z","dateUpdated":"2026-08-05T14:29:05.364Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-08-04T15:24:41.340Z"},"containers":{"cna":{"title":"Open WebUI: Same-origin XSS to account takeover via terminal file-preview iframe hardcoding allow-same-origin","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"open-webui","product":"open-webui","versions":[{"version":">= 0.9.0, < 0.11.0","status":"affected"}]}],"references":[{"url":"https://github.com/open-webui/open-webui/security/advisories/GHSA-3xpf-xq7r-v8c5","name":"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","name":"https://github.com/open-webui/open-webui/pull/26907","tags":["x_refsource_MISC"]},{"url":"https://github.com/open-webui/open-webui/commit/65a5fad7b97db99d490d81f4e0860282c3a4543c","name":"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","name":"https://github.com/open-webui/open-webui/releases/tag/v0.11.0","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":8.2,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","lang":"en","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-1021","lang":"en","description":"CWE-1021: Improper Restriction of Rendered UI Layers or Frames","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-08-04T20:01:55.319Z"},"source":{"advisory":"GHSA-3xpf-xq7r-v8c5","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-08-05T13:51:22.908403Z","id":"CVE-2026-70486","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-08-05T14:29:05.364Z"}}]}}}