CVE-2026-54386
Received Received - Intake
Reflected XSS in marimo Notebook Page

Publication date: 2026-06-17

Last updated on: 2026-06-17

Assigner: VulnCheck

Description
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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-06-17
Last Modified
2026-06-17
Generated
2026-06-18
AI Q&A
2026-06-18
EPSS Evaluated
N/A
NVD
Affected Vendors & Products
Currently, no data is known.
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-79 The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

This vulnerability exists in marimo versions before 0.23.9 and is a reflected cross-site scripting (XSS) issue on the notebook page.

It allows unauthenticated attackers to inject arbitrary JavaScript code by exploiting improper escaping of single quotes in the file query parameter, which is reflected into an inline JavaScript string literal.

Attackers can craft a malicious link with a payload starting with __new__ to bypass the 404 error check and inject JavaScript that executes without Content-Security-Policy restrictions in the victim's marimo server origin.

Impact Analysis

This vulnerability can allow attackers to execute arbitrary JavaScript in the context of the victim's marimo server.

Because the injected script runs without Content-Security-Policy restrictions, attackers could potentially steal sensitive information, hijack user sessions, perform actions on behalf of the user, or deliver malicious payloads.

Since the attack requires only a crafted link and no authentication, it poses a risk to any user who clicks such a link.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-54386. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart