CVE-2026-54386: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in marimo-team marimo
marimo versions prior to 0.23.9 contain a reflected cross-site scripting (XSS) vulnerability in the notebook page. This flaw allows unauthenticated attackers to inject arbitrary JavaScript by exploiting improper escaping of single quotes in the file query parameter. The injected script executes without Content-Security-Policy restrictions in the victim's marimo server origin. Attackers can bypass the 404 check by crafting a malicious link with a payload starting with __new__.
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 due to inadequate escaping of single quotes in the file query parameter reflected into an inline JavaScript string literal on the notebook page. This allows unauthenticated attackers to inject arbitrary JavaScript code that executes in the context of the victim's browser without Content-Security-Policy restrictions. The attack vector includes crafting a malicious URL with a payload beginning with __new__ to bypass the 404 error check.
Potential Impact
Successful exploitation enables execution of arbitrary JavaScript in the context of the victim's browser session on the marimo server origin. This can lead to typical XSS impacts such as session hijacking, defacement, or other malicious actions performed with the victim's privileges. The vulnerability does not require authentication and has a medium severity rating with a CVSS 4.0 score of 5.1.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should consider restricting access to the affected notebook page or applying web application firewall rules to detect and block suspicious payloads containing __new__. Monitor vendor channels for updates regarding an official patch or mitigation.
CVE-2026-54386: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in marimo-team marimo
Description
marimo versions prior to 0.23.9 contain a reflected cross-site scripting (XSS) vulnerability in the notebook page. This flaw allows unauthenticated attackers to inject arbitrary JavaScript by exploiting improper escaping of single quotes in the file query parameter. The injected script executes without Content-Security-Policy restrictions in the victim's marimo server origin. Attackers can bypass the 404 check by crafting a malicious link with a payload starting with __new__.
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 due to inadequate escaping of single quotes in the file query parameter reflected into an inline JavaScript string literal on the notebook page. This allows unauthenticated attackers to inject arbitrary JavaScript code that executes in the context of the victim's browser without Content-Security-Policy restrictions. The attack vector includes crafting a malicious URL with a payload beginning with __new__ to bypass the 404 error check.
Potential Impact
Successful exploitation enables execution of arbitrary JavaScript in the context of the victim's browser session on the marimo server origin. This can lead to typical XSS impacts such as session hijacking, defacement, or other malicious actions performed with the victim's privileges. The vulnerability does not require authentication and has a medium severity rating with a CVSS 4.0 score of 5.1.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should consider restricting access to the affected notebook page or applying web application firewall rules to detect and block suspicious payloads containing __new__. Monitor vendor channels for updates regarding an official patch or mitigation.
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: 6/17/2026, 9:50:06 PM
Last enriched: 6/17/2026, 10:06:01 PM
Last updated: 6/17/2026, 10:54:51 PM
Views: 4
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.