Skip to content
HighVulnerability

GHSA-3xpf-xq7r-v8c5: Open WebUI: Same-origin XSS to account takeover via terminal file-preview iframe hardcoding allow-same-origin

Published
Record updated
View JSON
Affected
  • open-webui >= 0.9.0, <= 0.10.2
Fixed in
0.11.0
  • released July 27, 2026, 8 days before disclosure
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.3%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

Open WebUI versions 0.9.0 through 0.10.2 render HTML files served from terminal servers in an iframe whose sandbox always includes `allow-same-origin` alongside `allow-scripts`, via the `serveUrl` branch of `FilePreview.svelte`. An authenticated user with access to a terminal server can have script run in the application origin, reading the victim's session token from `localStorage` for account takeover, with admins or `workspace.functions` holders potentially reaching server-side code execution through Functions.

Mitigation

Fixed in 0.11.0 by 65a5fad7b (#26907). The `serveUrl` preview branch now gates `allow-same-origin` behind the `iframeSandboxAllowSameOrigin` setting; upgrading is sufficient and no configuration change is required.