CVE-2026-54386: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in marimo-team marimo
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.
AI Analysis
Technical Summary
CVE-2026-54386 is a reflected cross-site scripting vulnerability in marimo before version 0.23.9. The vulnerability arises from improper neutralization of input during web page generation, specifically in the notebook page where the file query parameter is improperly escaped. This allows unauthenticated attackers to inject JavaScript code that executes in the context of the victim's browser without Content-Security-Policy restrictions. The exploit involves crafting a malicious URL with a payload beginning with __new__ to bypass a 404 check and trigger the injection.
Potential Impact
Successful exploitation enables an attacker to execute arbitrary JavaScript in the context of the victim's browser session on the marimo server. This can lead to theft of sensitive information, session hijacking, or other malicious actions performed with the victim's privileges. The vulnerability does not require authentication and has a medium severity score (CVSS 5.1). There are no known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should avoid exposing vulnerable versions to untrusted networks or users. Implementing web application firewalls or input validation may provide temporary mitigation but are not guaranteed to fully prevent exploitation.
CVE-2026-54386: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in marimo-team marimo
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.
CVSS v4.0
Score 5.1medium
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-54386 is a reflected cross-site scripting vulnerability in marimo before version 0.23.9. The vulnerability arises from improper neutralization of input during web page generation, specifically in the notebook page where the file query parameter is improperly escaped. This allows unauthenticated attackers to inject JavaScript code that executes in the context of the victim's browser without Content-Security-Policy restrictions. The exploit involves crafting a malicious URL with a payload beginning with __new__ to bypass a 404 check and trigger the injection.
Potential Impact
Successful exploitation enables an attacker to execute arbitrary JavaScript in the context of the victim's browser session on the marimo server. This can lead to theft of sensitive information, session hijacking, or other malicious actions performed with the victim's privileges. The vulnerability does not require authentication and has a medium severity score (CVSS 5.1). There are no known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should avoid exposing vulnerable versions to untrusted networks or users. Implementing web application firewalls or input validation may provide temporary mitigation but are not guaranteed to fully prevent exploitation.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-06-12T20:20:02.950Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a33168ef198dc38c1148dd3
Added to database: 06/17/2026, 21:50:06 UTC
Last enriched: 07/15/2026, 10:12:07 UTC
Last updated: 07/19/2026, 17:34:07 UTC
Views: 64
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.