Open-webui
Open WebUI: Same-origin XSS to account takeover via terminal port-preview iframe hardcoding allow-same-origin
Open WebUI is an extensible, feature-rich, and user-friendly self-hosted AI platform. From 0.8.11 until 0.11.1, src/lib/components/chat/FileNav/PortPreview.svelte rendered terminal port content in an iframe sandbox containing both allow-scripts and allow-same-origin. Because the terminal proxy serves that content from the Open WebUI origin, an authenticated user with access to a shared terminal server could host script on a previewed port and take over a victim's account when the victim opened the preview. This issue is fixed in version 0.11.1.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 0.8.11, < 0.11.1
Fixed in 0.11.1
Mitigation
Upgrade open-webui to 0.11.1 or later.
References
- Vendor advisory github.com/open-webui/open-webui/security/advi…
- Patch github.com/open-webui/open-webui/commit/54d7a2…
- Release notes github.com/open-webui/open-webui/releases/tag/…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.