# CVE-2026-70486: Open WebUI: Same-origin XSS to account takeover via terminal file-preview iframe hardcoding allow-same-origin

- Severity: High 8.2 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.31%, higher than 25% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-04T20:01:55.319Z
- Modified: 2026-09-18T14:46:56.237Z
- Also known as: GHSA-3xpf-xq7r-v8c5, PYSEC-2026-3641
- Weaknesses: CWE-79, CWE-1021
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- open-webui open-webui: >= 0.9.0, < 0.11.0
- open-webui (PyPI): from 0.9.0 before 0.11.0
- openwebui open_webui: from 0.9.0 before 0.11.0

## Every score

- GitHub_M: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N`
- GitHub: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- PyPA Advisory Database: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N`

## References

- <https://github.com/open-webui/open-webui/security/advisories/GHSA-3xpf-xq7r-v8c5> (exploit, patch, vendor-advisory, web)
- <https://github.com/open-webui/open-webui/pull/26907> (patch, vendor-advisory, web)
- <https://github.com/open-webui/open-webui/commit/65a5fad7b97db99d490d81f4e0860282c3a4543c> (patch, web)
- <https://github.com/open-webui/open-webui/releases/tag/v0.11.0> (release-notes, web)
- <https://github.com/open-webui/open-webui> (package)
- <https://pypi.org/project/open-webui> (package)
- <https://github.com/advisories/GHSA-3xpf-xq7r-v8c5> (advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-70486> (advisory)

## Sources

- CVE List: [CVE-2026-70486](https://www.cve.org/CVERecord?id=CVE-2026-70486), CVE Terms of Use, modified 2026-08-05
- GitHub Advisory Database: [GHSA-3xpf-xq7r-v8c5](https://github.com/advisories/GHSA-3xpf-xq7r-v8c5), CC-BY-4.0, modified 2026-08-19
- NVD: [CVE-2026-70486](https://nvd.nist.gov/vuln/detail/CVE-2026-70486), Public domain, modified 2026-09-18
- PyPA Advisory Database: [PYSEC-2026-3641](https://osv.dev/vulnerability/PYSEC-2026-3641), CC-BY-4.0, modified 2026-08-10

---

Page: https://cve.day/CVE-2026-70486 · Whole record: https://cve.day/CVE-2026-70486.json · Rebuilt by cve.day 2026-11-25T22:59:31.019Z
