Skip to main content

Open WebUI CVE-2026-87995

| EUVDEUVD-2026-75179 HIGH
Cross-site Scripting (XSS) (CWE-79)
2026-09-09 security-advisories@github.com GHSA-jmc6-2wr8-h3wj
8.7
CVSS 3.1 · Vendor: github
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to shared Open WebUI instance
  2. Delivery
    Host malicious JS payload on controlled terminal port
  3. Exploit
    Share or wait for victim to open port preview tab
  4. Execution
    iframe loads attacker page with same-origin privileges
  5. Persist
    Exfiltrate session token or cookies
  6. Impact
    Full 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 terminalPreviewAllowSameOrigin setting left at its default enabled state. Limiting factors: requires an authenticated session (no anonymous exploitation), requires UI interaction by the victim, and is scoped to deployments with shared terminal server access enabled - purely single-user or non-terminal Open WebUI installations are not exposed.

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 (terminalPreviewAllowSameOrigin) but defaults it to true, meaning the insecure same-origin sandbox attribute remains active after upgrading unless administrators explicitly disable it in Interface Settings - this substantially weakens the effective patch and must be communicated to operators.

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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

open-webui 0.8.11, < 0.11.1

Affected Packages

pypi open-webui fix: 0.11.1

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

Vendor (github) PRIMARY 8.7 HIGH
AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
vuln.today AI 8.7 HIGH

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.

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
4.0 AV:N/AC:L/AT:P/PR:L/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
None

Lifecycle Timeline

2
Patch available
Sep 09, 2026 - 22:34 EUVD
CVE Published
Sep 09, 2026 - 22:18 cve.org
HIGH 8.7

DescriptionCVE.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

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 87% exploitable
Prevalence
Medium
popular self-hosted AI platform, growing developer/team adoption
Threat Intel
1
1 sources
Exploit
POC
Public exploit code exists
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

64
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

CVE-2024-8017 CRITICAL POC
9.0 Mar 20

An XSS vulnerability exists in open-webui/open-webui versions <= 0.3.8, specifically in the function that constructs the

CVE-2024-7044 HIGH POC
8.9 Mar 20

A Stored Cross-Site Scripting (XSS) vulnerability exists in the chat file upload functionality of open-webui/open-webui

CVE-2024-6707 HIGH POC
8.8 Aug 07

Attacker controlled files can be uploaded to arbitrary locations on the web server's filesystem by abusing a path traver

CVE-2024-8053 HIGH POC
8.2 Mar 20

In version v0.3.10 of open-webui/open-webui, the `api/v1/utils/pdf` endpoint lacks authentication mechanisms, allowing u

CVE-2026-87016 HIGH POC
8.1 Sep 09

OAuth and SCIM identity confusion in Open WebUI 0.6.41-0.10.x (SQLite-backed deployments only) allows unauthenticated re

CVE-2026-87996 HIGH POC
7.7 Sep 09

DNS rebinding SSRF in Open WebUI versions 0.9.6 through 0.11.0 allows authenticated users who control authoritative DNS

CVE-2026-87011 HIGH POC
7.5 Sep 09

Denial of service in Open WebUI versions 0.9.0-0.11.0 allows unauthenticated remote attackers to stall the application s

CVE-2024-7983 HIGH POC
7.5 Mar 20

In version 0.3.8 of open-webui, an endpoint for converting markdown to HTML is exposed without authentication. Rated hig

CVE-2026-26193 HIGH POC
7.3 Feb 19

Open WebUI is a self-hosted artificial intelligence platform designed to operate entirely offline. [CVSS 7.3 HIGH]

CVE-2026-26192 HIGH POC
7.3 Feb 19

Stored XSS in Open WebUI prior to version 0.7.0 allows authenticated users to inject malicious HTML payloads into chat d

CVE-2026-87998 HIGH POC
7.1 Sep 09

Improper privilege management in Open WebUI 0.10.0 through 0.11.0 allows any authenticated low-privilege user with write

CVE-2026-87999 HIGH POC
7.1 Sep 09

Server-side request forgery in Open WebUI prior to 0.11.1 allows authenticated users to reach internal cloud infrastruct

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy