Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconAttacker identifies accessible marimo server
-
DeliveryCraft file parameter payload prefixed with __new__
-
ExploitDeliver malicious URL to victim via phishing or link sharing
-
InstallVictim clicks link and loads notebook page
-
C2Single quote in file parameter breaks JavaScript string literal context
-
ExecuteInjected script executes in marimo server origin
-
ImpactAttacker exfiltrates session data or manipulates notebook
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the following specific conditions: (1) the victim must click or otherwise navigate to a crafted URL containing the malicious |
| Impact | The CVSS 4.0 score of 5.1 (Medium) accurately reflects the constrained impact profile: mandatory active user interaction (UI:A) is the primary limiting factor, with no vulnerable-system impact (VC:N/VI:N/VA:N) and only limited subsequent-system impact (SC:L/SI:L). Real-world risk is moderate rather than critical: exploiting this flaw requires socially engineering a victim into clicking a crafted URL, which constrains scalability. However, marimo is commonly deployed in collaborative, research, and educational settings where server URLs are freely shared, making phishing-style delivery plausible. The absence of CSP on the notebook page means successful injection achieves full same-origin script execution - enabling session hijacking, credential theft, or notebook data exfiltration - which somewhat exceeds what the numeric score alone conveys. KEV status is not confirmed, and EPSS data was not provided in the input, so exploitation likelihood is inferred from attack complexity rather than empirical signal. The patch is available and low-risk to apply, making this a straightforward remediation priority for any externally exposed marimo instance. |
| Exploit ScenarioDerived | An attacker targeting a publicly accessible marimo deployment crafts a URL such as |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 17, 2026
Reflected XSS in the marimo notebook server before version 0.23.9 enables unauthenticated remote attackers to inject and execute arbitrary JavaScript in the origin of a victim's marimo server by supplying a crafted file query parameter. The flaw stems from improper single-quote escaping in assets.py when reflecting the parameter into an inline JavaScript string literal; attackers bypass the server's 404 check by prefixing payloads with __new__, and execution occurs without Content-Security-Policy restrictions. No active exploitation is confirmed (not in CISA KEV) and no public exploit code has been identified at time of analysis, though the attack mechanism is straightforward for a motivated attacker targeting shared or collaborative marimo deployments.
RemediationAI
Upgrade to marimo 0.23.9 or later, which resolves the vulnerability via commit fdd55c8cf6260ae23bb411dc9d9269def5cf75d6 (https://github.com/marimo-team/marimo/commit/fdd55c8cf6260ae23bb411dc9d9269def5cf75d6); the release is available at https://github.com/marimo-team/marimo/releases/tag/0.23.9. If an immediate upgrade is not feasible, restrict access to the marimo notebook server to trusted, authenticated users via a reverse proxy enforcing authentication (e.g., HTTP Basic Auth or OAuth2 proxy) - this eliminates the unauthenticated attack surface, though it does not fix the underlying escaping defect. Injecting a strict Content-Security-Policy header at the reverse proxy layer (e.g., script-src 'self') would reduce the exploitability of any XSS by blocking inline script execution, but note this may break marimo's own inline scripting and requires testing. Avoid exposing marimo servers directly to untrusted networks until the patch is applied.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in pypi
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
marimo is a Python-based reactive notebook framework that serves a web interface for authoring and executing notebooks. The vulnerability resides in the HTTP handler responsible for the notebook page (identified as assets.py per the VulnCheck advisory), which takes the file query parameter and embeds it directly into an inline JavaScript string literal in the HTML response without sanitizing single-quote characters. CWE-79 (Improper Neutralization of Input During Web Page Generation) describes this root cause: user-supplied data is concatenated into a script context without context-aware encoding. The __new__ prefix is a recognized sentinel value in marimo that instructs the server to treat the request as creating a new notebook rather than loading an existing file, effectively bypassing the 404 guard that would otherwise reject unrecognized filenames. Because no Content-Security-Policy header is enforced on the notebook page, injected scripts run with full same-origin privileges. All marimo versions covered by CPE cpe:2.3:a:marimo-team:marimo:*:*:*:*:*:*:*:* before 0.23.9 are affected.
Know when Marimo gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
Network-delivered reflected XSS requires no attacker privileges but mandates victim interaction; scope changes to the browser enabling limited confidentiality and integrity impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
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.
Blast Radius
ecosystem impact- 1 pypi packages depend on marimo (1 direct, 0 indirect)
Ecosystem-wide dependent count for version 0.23.9.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
Code injection in marimo before 0.23.15 allows an attacker who can deliver a crafted notebook file to execute arbitrary
Configuration injection in marimo before 0.23.15 enables a malicious notebook author to silently exfiltrate an operator'
EUVD-2026-37809
GHSA-8m59-7xv8-735h
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB