GitHub Advisoryadvisory · PyPI

GHSA-8m59-7xv8-735h marimo contains a reflected cross-site scripting vulnerability in the notebook page

MEDIUM Published 2026-06-18 Modified 2026-06-18 Official page ↗
Aliases
CVE-2026-54386
Ecosystem
PyPI
Packages
marimo
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weaknesses
CWE-79
Reviewed
2026-06-18

Affected packages

• PyPI marimo: < 0.23.9 → fixed in 0.23.9

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.

Related

Alias · CVE (1)

  • CVE-2026-54386 marimo before 0.23.9 contains a reflected cross-site scripting vulnerability in the notebook page that allows unauthenticated attackers to… vulnerability

Weakness · CWE (1)

  • CWE-79 Improper Neutralization of Input During Web Page Generation weakness

References