CVE-2026-54386: marimo contains a reflected cross-site scripting vulnerability in the notebook page
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.
References
- github.com/advisories/GHSA-8m59-7xv8-735h
- github.com/marimo-team/marimo/commit/fdd55c8cf6260ae23bb411dc9d9269def5cf75d6
- github.com/marimo-team/marimo/pull/9789
- github.com/marimo-team/marimo/releases/tag/0.23.9
- nvd.nist.gov/vuln/detail/CVE-2026-54386
- www.vulncheck.com/advisories/marimo-xss-via-file-query-parameter-in-assets-py
Code Behaviors & Features
Detect and mitigate CVE-2026-54386 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →