Vulnerability · Published Aug 4, 2026 · Assigned by GitHub_M
CVE-2026-70486Open WebUI: Same-origin XSS to account takeover via terminal file-preview iframe hardcoding allow-same-origin
High 8.2
In plain English
A high-severity cross-site scripting in open-webui from open-webui. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 32% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | open-webui | 0.11.0 | GHSA-3xpf-xq7r-v8c5 |
| PyPI | open-webui | 0.11.0 | PYSEC-2026-3641 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| open-webui | open-webui | >= 0.9.0, < 0.11.0 |
Weakness: CWE-79, CWE-1021 · Vector: 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 x_refsource_CONFIRM
- https://github.com/open-webui/open-webui/pull/26907 x_refsource_MISC
- https://github.com/open-webui/open-webui/commit/65a5fad7b97db99d490d81f4e0860282c3a4543c x_refsource_MISC
- https://github.com/open-webui/open-webui/releases/tag/v0.11.0 x_refsource_MISC