Advisory

GHSA-8m59-7xv8-735h

Also known as: CVE-2026-54386, PYSEC-2026-2619

Summary

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

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-06-18 00:32 UTC
Modified
2026-07-13 16:43 UTC

Affected packages and fixes

marimo

PyPI · All systems

Affected

  • introduced 0, fixed 0.23.9 (ecosystem)

Fixed versions

0.23.9

Fix

  • Fixed version 0.23.9
    pip install --upgrade marimo==0.23.9

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences