Description
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.
Published: 2026-09-09
Score: 8.7 High
EPSS: n/a
KEV: No
Impact: Account takeover via same-origin XSS
Action: Patch
AI Analysis

Impact

Open WebUI rendered terminal port content inside an iframe that allowed both scripts and same‑origin content. Because the proxy served the content from the same origin as the application, an authenticated user who could host code on a shared terminal server could embed malicious scripts into a port preview. When a victim with a valid account opened that preview, the browser executed the script in the victim’s browser context, enabling the attacker to hijack the victim’s session and take over their account. The flaw is a classic same‑origin cross‑site scripting (XSS) issue, identified as CWE‑1021 and CWE‑79, that can lead directly to account takeover.

Affected Systems

Affected versions of the open‑webui product are 0.8.11 through 0.11.1 (inclusive). The vulnerability exists in the component src/lib/components/chat/FileNav/PortPreview.svelte and is fixed in release v0.11.1. All other versions prior to 0.8.11 or newer than 0.11.1 are unaffected.

Risk and Exploitability

The vulnerability has a CVSS score of 8.7, indicating high severity. EPSS is not available, so the current exploit probability cannot be quantified, and the issue is not listed in the CISA KEV catalog. Successful exploitation requires an authenticated attacker with access to the terminal proxy and requires the victim to visit the port preview. Because the malicious code executes in the victim’s browser origin, an attacker can retrieve authentication tokens, manipulate the session, or perform other credential‑stealing actions. Given the high severity and the ability for the attacker to leverage an already authenticated session, the risk to affected deployments is significant, especially in environments where terminal servers are shared among many users.

Generated by OpenCVE AI on September 9, 2026 at 22:44 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Open WebUI to version 0.11.1 or later to remove the allow‑same‑origin flag from the terminal port preview iframe.
  • If upgrading is not immediately possible, limit access to the terminal proxy so that only trusted users can host code, or disable the port preview feature until the fix is applied.
  • As a temporary workaround, modify the iframe sandbox configuration to omit the allow‑same‑origin attribute, preventing same‑origin content from being executed.

Generated by OpenCVE AI on September 9, 2026 at 22:44 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 09 Sep 2026 21:30:00 +0000

Type Values Removed Values Added
Description 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.
Title Open WebUI: Same-origin XSS to account takeover via terminal port-preview iframe hardcoding allow-same-origin
Weaknesses CWE-1021
CWE-79
References
Metrics cvssV3_1

{'score': 8.7, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-09-09T21:26:30.890Z

Reserved: 2026-09-09T19:19:27.405Z

Link: CVE-2026-87995

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-09T22:18:47.710

Modified: 2026-09-09T22:18:47.710

Link: CVE-2026-87995

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-09T22:45:06Z

Weaknesses
  • CWE-1021

    Improper Restriction of Rendered UI Layers or Frames

  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')