Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to shared Open WebUI instance
-
DeliveryHost malicious JS payload on controlled terminal port
-
ExploitShare or wait for victim to open port preview tab
-
Executioniframe loads attacker page with same-origin privileges
-
PersistExfiltrate session token or cookies
-
ImpactFull victim account takeover
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Three conditions must hold simultaneously: (1) the attacker must be authenticated to the Open WebUI instance as any low-privilege user; (2) the deployment must use a shared terminal server feature - single-user or non-terminal deployments are not affected; (3) a victim user must open the attacker-controlled port preview tab in their browser. Additionally, the deployment must be running Open WebUI 0.8.11 through 0.11.0, or running 0.11.1 with the |
| Impact | The provided CVSS:3.1 vector AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N scores 8.7, reflecting that exploitation requires attacker authentication (PR:L), victim interaction (opening the preview tab, UI:R), and a shared terminal server deployment context. Real-world risk is meaningfully constrained by these conditions: this is not a mass-exploitation scenario but rather a targeted attack within a shared multi-user deployment - an uncommon but not rare configuration for team-based Open WebUI instances. The scope change (S:C) is appropriate because the attacker's low-privilege context escalates into full control of the victim's account. EPSS data is absent from the provided inputs. No KEV listing and no POC code is referenced. Critically, the fix in 0.11.1 adds a user-configurable toggle ( |
| Exploit ScenarioDerived | An attacker authenticated to a shared Open WebUI instance starts a minimal HTTP server on a previewed port that serves a JavaScript payload - for example, a script that exfiltrates the victim's session token from localStorage. When an admin or higher-privileged user opens the port preview tab in the same Open WebUI deployment, the iframe loads the attacker's page from the same origin with full script execution rights, exfiltrating credentials and completing account takeover silently. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 09, 2026
Stored cross-site scripting in Open WebUI's terminal port preview feature allows an authenticated attacker sharing a terminal server with a victim to execute arbitrary JavaScript in the victim's browser at the Open WebUI origin, enabling full account takeover. The vulnerability affects versions 0.8.11 through 0.11.1 and stems from a dangerous iframe sandbox configuration that combines allow-scripts with allow-same-origin, which together nullify sandbox isolation when content is served from the application's own origin. No public exploit code has been identified at time of analysis, and no active exploitation is confirmed, but the attack is straightforward for any authenticated user on a shared terminal deployment.
RemediationAI
Upgrade to Open WebUI 0.11.1, available at https://github.com/open-webui/open-webui/releases/tag/v0.11.1. IMPORTANT CAVEAT: the fix introduces a new Interface Settings toggle 'Terminal Preview Allow Same Origin' that defaults to enabled (true), meaning the dangerous sandbox combination remains active unless an administrator explicitly navigates to Interface Settings and disables terminalPreviewAllowSameOrigin. After upgrading, administrators must disable this toggle to eliminate the vulnerability - without this action, the upgrade alone does not mitigate the risk. As a compensating control prior to patching, organizations should restrict access to the shared terminal server feature to fully trusted users only, or disable port preview functionality entirely. There is no network-level workaround since exploitation occurs entirely within authenticated browser sessions.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in pypi
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability resides in src/lib/components/chat/FileNav/PortPreview.svelte, a Svelte component responsible for rendering previews of terminal-proxied port content. Open WebUI's terminal proxy serves that content from the same origin as the main application, so when the iframe sandbox attribute includes both allow-scripts and allow-same-origin simultaneously, the standard iframe sandbox isolation breaks down: allow-same-origin causes the browser to treat the iframe as sharing the parent document's origin, and allow-scripts then grants the iframe JavaScript execution with full same-origin privileges - including access to cookies, localStorage, and session tokens. CWE-79 (Improper Neutralization of Input During Web Page Generation) captures the root cause: attacker-controlled content rendered in a trusted browser context without adequate isolation. EUVD-2026-75179 identifies affected version range as open-webui 0.8.11 up to (not including) 0.11.1. The GHSA advisory GHSA-jmc6-2wr8-h3wj confirms the issue.
Know when Open Webui gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
Authenticated low-privilege attacker (PR:L), victim must open preview (UI:R), XSS escapes to victim's origin session (S:C/C:H/I:H); availability unaffected.
Primary rating from Vendor (github).
CVSS VectorVendor: github
Lifecycle Timeline
2DescriptionCVE.org
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.
Technical POC Analysis
The bug is a same-origin cross-site scripting / frame-isolation failure in src/lib/components/chat/FileNav/PortPreview.svelte, the iframe used when a user clicks a port in Open WebUI's file-navigator…
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
Open WebUI versions 0.8.11 through 0.11.1 contain a stored cross-site scripting vulnerability in the terminal port preview feature that permits authenticated attackers to hijack user accounts and execute arbitrary actions within the application. Organizations operating Open WebUI with shared terminal deployments face risk of full account compromise, potentially exposing access to language models, application endpoints, and data managed through the platform.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
More in Open Webui
View allAn XSS vulnerability exists in open-webui/open-webui versions <= 0.3.8, specifically in the function that constructs the
A Stored Cross-Site Scripting (XSS) vulnerability exists in the chat file upload functionality of open-webui/open-webui
Attacker controlled files can be uploaded to arbitrary locations on the web server's filesystem by abusing a path traver
In version v0.3.10 of open-webui/open-webui, the `api/v1/utils/pdf` endpoint lacks authentication mechanisms, allowing u
OAuth and SCIM identity confusion in Open WebUI 0.6.41-0.10.x (SQLite-backed deployments only) allows unauthenticated re
DNS rebinding SSRF in Open WebUI versions 0.9.6 through 0.11.0 allows authenticated users who control authoritative DNS
Denial of service in Open WebUI versions 0.9.0-0.11.0 allows unauthenticated remote attackers to stall the application s
In version 0.3.8 of open-webui, an endpoint for converting markdown to HTML is exposed without authentication. Rated hig
Open WebUI is a self-hosted artificial intelligence platform designed to operate entirely offline. [CVSS 7.3 HIGH]
Stored XSS in Open WebUI prior to version 0.7.0 allows authenticated users to inject malicious HTML payloads into chat d
Improper privilege management in Open WebUI 0.10.0 through 0.11.0 allows any authenticated low-privilege user with write
Server-side request forgery in Open WebUI prior to 0.11.1 allows authenticated users to reach internal cloud infrastruct
EUVD-2026-75179
GHSA-jmc6-2wr8-h3wj
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB