CVE-2026-54386
JSON

5.1medium

marimo < 0.23.9 XSS via file Query Parameter in assets.py

Severity
5.1medium CVSS:4.0 by VulnCheck
Exploit likelihood
0.44% (higher than 40% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck
Also known as
GHSA-8m59-7xv8-735hPYSEC-2026-2619

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.

Affected

Product or packageVersionsReported by
marimo-team marimobefore 0.23.9CVE List
marimo (PyPI)before 0.23.9GitHub Advisory Database, PyPA Advisory Database

All scores

VulnCheck5.1medium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
VulnCheck6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
GitHub6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
GitHubmedium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
PyPA Advisory Database6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
PyPA Advisory DatabaseNot scored CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

Classification

CWE-79

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

marimo anterior a la versión 0.23.9 contiene una vulnerabilidad de cross-site scripting reflejada en la página del cuaderno que permite a atacantes no autenticados inyectar JavaScript arbitrario explotando el escape inadecuado de comillas simples en el parámetro de consulta file reflejado en un literal de cadena de JavaScript en línea. Los atacantes pueden crear un enlace malicioso con una carga útil que comienza con __new__ para eludir la verificación 404 e inyectar JavaScript en la página, el cual se ejecuta sin restricciones de Content-Security-Policy en el origen del servidor marimo de una víctima.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-54386 changed 2026-11-08CVE Terms of Use
GitHub Advisory DatabaseGHSA-8m59-7xv8-735h changed 2026-07-13CC-BY-4.0
NVDCVE-2026-54386 changed 2026-10-26Public domain
PyPA Advisory DatabasePYSEC-2026-2619 changed 2026-07-13CC-BY-4.0