Skip to content
HighVulnerability

GHSA-jmc6-2wr8-h3wj: Open WebUI: Same-origin XSS to account takeover via terminal port-preview iframe hardcoding allow-same-origin

Published
Record updated
View JSON
Affected
  • open-webui >= 0.8.11, <= 0.11.0
Fixed in
0.11.1
  • released August 25, 2026, 16 days before disclosure

Summary

Open WebUI's in-app port preview, implemented in src/lib/components/chat/FileNav/PortPreview.svelte and present from 0.8.11 through 0.11.0, rendered previewed ports in an iframe whose sandbox always included allow-same-origin alongside allow-scripts. Because the terminal proxy serves that content from the application's own origin, a script on a previewed port could read the victim's session token from localStorage, enabling account takeover for any authenticated user with access to a shared terminal server. Personal terminals pointing at an external URL and deployments with no terminal server configured were not affected.

Mitigation

Fixed in 0.11.1 by 54d7a2237. The port preview now gates allow-same-origin behind a terminalPreviewAllowSameOrigin user setting that is off by default; upgrading is sufficient and no configuration change is required.