marimo contains a reflected cross-site scripting vulnerability in the notebook page
CVE-2026-54386 · GHSA-8m59-7xv8-735h · published 2026-06-18
- Severity
- Medium
- CVSS score
- 6.1
- Chance of exploitation (EPSS)
- 0.24%
- Fixed in
- 0.23.9
- Exploitation No known exploitation
- Automatable No
- Technical impact Partial
- CISA SSVC
marimo before 0.23.9 contains a reflected cross-site scripting vulnerability in the notebook page that allows unauthenticated attackers to inject arbitrary JavaScript by exploiting improper escaping of single quotes in the file query parameter reflected into an inline JavaScript string literal. Attackers can craft a malicious link with a payload beginning with new to bypass the 404 check and inject JavaScript into the page, which executes without Content-Security-Policy restrictions in the origin of a victim's marimo server.
Upgrade marimo to 0.23.9 or later.
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| marimo | PyPI | < 0.23.9 | 0.23.9 |
- CriticalJupyter Server: Stored XSS in `NbconvertFileHandler` / `NbconvertPostHandler` via missing `sandbox` CSPjupyter-server
- CriticalMalicious website can execute commands on the local system through XSS in the OpenCode web UIopencode-ai
- CriticalFlowise is vulnerable to stored XSS via "View Messages" allows credential theft in FlowiseAI admin panelflowise
- CriticalMLFlow Cross-site Scripting vulnerability leads to client-side Remote Code Executionmlflow
- CriticalCross-site Scripting in MLFlowmlflow
- HighPraisonAI: Prompt Injection Defense Bypassed for HIGH-Level Threatspraisonai
- CriticalMarimo: Pre-Auth Remote Code Execution via Terminal WebSocket Authentication BypassmarimoExploited
- Mediummarimo vulnerable to proxy abuse of /mpl/{port}/marimo
The impact, patch and workaround text comes from the advisory, shortened (GitHub Advisory Database, CC BY 4.0). Proof-of-concept and reproduction sections and code are left out; the original advisory has them.