Skip to content
HighVulnerability

GHSA-4r2p-27mh-5m22: Open WebUI: Stored web worker XSS via Pyodide

Published
Record updated
View JSON
Affected
  • open-webui < 0.10.0
Fixed in
0.10.0
  • released June 29, 2026, 25 days before disclosure
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.3%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

Open WebUI runs client-side Python (Pyodide) in a same-origin web worker, so Python executed through the js bridge or pyfetch can make credentialed requests to the app's own API as the victim. A low-privileged user can store such a payload in a shared chat; when an admin, or a user with workspace.functions or workspace.tools permissions, clicks Run, the payload can create a Function/Tool whose body executes server-side, yielding remote code execution.

Mitigation

Pyodide now runs in a sandboxed iframe at an opaque origin by default (sandbox="allow-scripts", no allow-same-origin), so requests to the app carry no session cookie and are CORS-blocked. Until upgraded, disable Pyodide code execution or set the Code Execution / Code Interpreter engine to a server-side option.