Skip to main content
← All vulnerabilities
CVE-2026-70486GHSA-3XPF-XQ7R-V8C5PYSEC-2026-3641

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.11.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • open-webui open-webui

    From 0.9.0 · fixed in 0.11.0

  • open-webuiPyPI

    From 0.9.0 · fixed in 0.11.0

References 4

GitHub · open-webui/open-webui