Skip to content
MediumVulnerability

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

Published
Record updated
View JSON
Affected
  • marimo < 0.23.9
Fixed in
0.23.9
  • released June 4, 2026, 14 days before disclosure

Summary

marimo versions before 0.23.9 contain a reflected cross-site scripting flaw in the notebook page. Unauthenticated attackers can inject arbitrary JavaScript by abusing improper escaping of single quotes in the file query parameter, which is reflected into an inline JavaScript string literal. A crafted link whose payload begins with __new__ bypasses the 404 check, and the injected script runs without Content-Security-Policy restrictions in the origin of a victim's marimo server.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.