marimo < 0.23.9 - Cross-Site Scripting
marimo before 0.23.9 contains a reflected cross-site scripting vulnerability in the notebook page. The file query parameter is reflected into an inline JavaScript string literal by _inject_service_worker() in marimo/_server/api/endpoints/assets.py without escaping single quotes. A value that starts with __new__ skips the notebook lookup, so a crafted link executes attacker-controlled JavaScript on servers that serve the notebook page without authentication, such as the default marimo run app mode or marimo edit --no-token.