CVE-2026-59214

Open WebUI: Stored web worker XSS via Pyodide

Published Jul 9, 2026 CVSS 3.1 · 7.3 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

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

Remediation

No solution or workaround provided in the CVE record.

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 August 1, 2026 at 14:24 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
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared Open-webui
Open-webui open-webui
Vendors & Products Open-webui
Open-webui open-webui
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'}

Weaknesses
  • CWE-79

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

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jul 9, 2026, 5:13 PM
Reserved
Jul 2, 2026, 9:05 PM
Status
Analyzed
Published
Jul 9, 2026, 5:17 PM
Modified
Jul 10, 2026, 7:24 PM