Description
Open WebUI is an extensible, feature-rich, and user-friendly self-hosted AI platform. Prior to 0.10.0, Open WebUI runs client-side Python with Pyodide in a same-origin web worker, allowing stored chat payloads that use pyodide.http.pyfetch or the js module fetch and XMLHttpRequest APIs to issue authenticated same-origin requests when a victim clicks Run, which can reach admin-only endpoints and execute server-side code through configured tools. This issue is fixed in version 0.10.0.
Published: 2026-07-09
Score: 7.3 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Open WebUI versions earlier than 0.10.0 executed client‑side Python with Pyodide inside a same‑origin web worker. Malicious stored chat content can invoke pyodide.http.pyfetch, fetch, or XMLHttpRequest, which when the user presses Run, sends authenticated requests from the browser to the server’s admin‑only endpoints. This flow can trigger server‑side code execution through configured tools, making the vulnerability a stored cross‑site scripting flaw (CWE‑79).

Affected Systems

All Open Web deployments using a release earlier than 0.10.0 are affected. The flaw resides in the open‑webui:open‑webui product and is fixed in 0.10.0 and later.

Risk and Exploitability

The CVSS score of 7.3 reflects a high severity, while an EPSS score below 1% indicates a low but non‑zero likelihood of exploitation. Because the attack requires a carefully crafted stored payload that a victim later executes by clicking Run, the vector is a browser‑based interaction that can issue authenticated same‑origin requests. The vulnerability is not listed in the CISA KEV catalog and no public exploits have been reported at present, but the potential for privileged server‑side code execution warrants prompt remediation.

Generated by OpenCVE AI on July 29, 2026 at 12:16 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Open WebUI to version 0.10.0 or newer to eliminate the flaw.
  • If an upgrade is delayed, block or sanitize stored chat payloads that reference pyodide.http.pyfetch, fetch, or XMLHttpRequest, or disable Pyodide execution for user‑submitted content.
  • Ensure that all admin‑only endpoints are protected with authentication and enforce least privilege so that even authenticated same‑origin requests cannot result in arbitrary code execution.

Generated by OpenCVE AI on July 29, 2026 at 12:16 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-4r2p-27mh-5m22 Open WebUI: Stored web worker XSS via Pyodide
History

Thu, 09 Jul 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Thu, 09 Jul 2026 17:45:00 +0000

Type Values Removed Values Added
First Time appeared Open-webui
Open-webui open-webui
Vendors & Products Open-webui
Open-webui open-webui

Thu, 09 Jul 2026 16:30:00 +0000

Type Values Removed Values Added
Description Open WebUI is an extensible, feature-rich, and user-friendly self-hosted AI platform. Prior to 0.10.0, Open WebUI runs client-side Python with Pyodide in a same-origin web worker, allowing stored chat payloads that use pyodide.http.pyfetch or the js module fetch and XMLHttpRequest APIs to issue authenticated same-origin requests when a victim clicks Run, which can reach admin-only endpoints and execute server-side code through configured tools. This issue is fixed in version 0.10.0.
Title Open WebUI: Stored web worker XSS via Pyodide
Weaknesses CWE-79
References
Metrics cvssV3_1

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


Subscriptions

Open-webui Open-webui
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-09T17:13:10.879Z

Reserved: 2026-07-02T21:05:02.924Z

Link: CVE-2026-59214

cve-icon Vulnrichment

Updated: 2026-07-09T17:13:06.333Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-29T12:30:03Z

Weaknesses
  • CWE-79

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