Skip to content

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

MediumCVSS 5.4 EPSS 0.38%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
openwebui open webui >= 0.9.0, < 0.11.0 0.11.0 Fixed
pypi open-webui(PyPI) = 0.9.0; = 0.9.1; = 0.9.2; = 0.9.3 +8 more 0.11.0 Fixed
open-webui = >= 0.9.0, < 0.11.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
pypi open-webui(PyPI) >= 0.9.0, < 0.11.0 0.11.0
pypi open-webui(PyPI) = 0.10.0 No fix listed
pypi open-webui(PyPI) = 0.10.1 No fix listed
pypi open-webui(PyPI) = 0.10.2 No fix listed
pypi open-webui(PyPI) = 0.9.0 No fix listed
pypi open-webui(PyPI) = 0.9.1 No fix listed
pypi open-webui(PyPI) = 0.9.2 No fix listed
pypi open-webui(PyPI) = 0.9.3 No fix listed
pypi open-webui(PyPI) = 0.9.4 No fix listed
pypi open-webui(PyPI) = 0.9.5 No fix listed
pypi open-webui(PyPI) = 0.9.6 No fix listed
open-webui = >= 0.9.0, < 0.11.0 No fix listed
pypi open-webui(PyPI) >= 0.9.0, <= 0.10.2 No fix listed
openwebui open webui >= 0.9.0, < 0.11.0 0.11.0

References