CVE-2026-70486
CVE-2026-70486 · Open WebUI: Same-origin XSS to account takeover via terminal file-preview iframe hardcoding allow-same-origin
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 8.2 · High · EPSS 0.4% · Fix available
- Published
- Updated
Stack: python
Affected products and versions
open-webui
- Versions
- >= 0.9.0, < 0.11.0: Affected
No fix published
open-webui PyPI
- Versions
- 0.10.0
- 0.10.1
- 0.10.2
- 0.9.0
- 0.9.1
- 0.9.2
- 0.9.3
- 0.9.4
- 0.9.5
- 0.9.6
- Affected ranges
- ECOSYSTEM: ≥ 0.9.0, < 0.11.0
Update to 0.11.0
Original sources
- 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
- https://nvd.nist.gov/vuln/detail/CVE-2026-70486