VDB
Sign up
MEDIUM6.1

PYSEC-2026-2619

marimo contains a reflected cross-site scripting vulnerability in the notebook page

Quick fix

PYSEC-2026-2619 — marimo: upgrade to the fixed version with the command below.

pip install --upgrade 'marimo>=0.23.9'

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/marimo
Introduced in: 0Fixed in: 0.23.9
Fixpip install --upgrade 'marimo>=0.23.9'

References