{"id":"CVE-2026-54386","aliases":["CVE-2026-54386","GHSA-8m59-7xv8-735h","PYSEC-2026-2619"],"related":[],"kind":"vulnerability","state":"published","title":"marimo < 0.23.9 XSS via file Query Parameter in assets.py","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"marimo anterior a la versión 0.23.9 contiene una vulnerabilidad de cross-site scripting reflejada en la página del cuaderno que permite a atacantes no autenticados inyectar JavaScript arbitrario explotando el escape inadecuado de comillas simples en el parámetro de consulta file reflejado en un literal de cadena de JavaScript en línea. Los atacantes pueden crear un enlace malicioso con una carga útil que comienza con __new__ para eludir la verificación 404 e inyectar JavaScript en la página, el cual se ejecuta sin restricciones de Content-Security-Policy en el origen del servidor marimo de una víctima.","source":"nvd"}],"published":"2026-06-17T21:37:00.583Z","modified":"2026-11-08T14:05:19.100Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N","score":5.1,"rating":"MEDIUM"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N","score":5.1,"rating":"MEDIUM"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N","rating":"MEDIUM"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"0.23.9","status":"affected"}],"vendor":"marimo-team","product":"marimo","repo":"https://github.com/marimo-team/marimo","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.23.9"}],"ecosystem":"PyPI","package":"marimo","purl":"pkg:pypi/marimo","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.23.9"}],"ecosystem":"PyPI","package":"marimo","purl":"pkg:pypi/marimo","source":"pysec"}],"references":[{"url":"https://github.com/marimo-team/marimo/releases/tag/0.23.9","tags":["release-notes","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/marimo-team/marimo/pull/9789","tags":["issue-tracking","patch","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/marimo-team/marimo/commit/fdd55c8cf6260ae23bb411dc9d9269def5cf75d6","tags":["patch","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://www.vulncheck.com/advisories/marimo-xss-via-file-query-parameter-in-assets-py","tags":["third-party-advisory","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54386","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/marimo-team/marimo","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/marimo","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-8m59-7xv8-735h","tags":["advisory"],"sources":["pysec"]}],"credits":["Elvin Suleymanov"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-06-18T13:48:21.870Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-54386","url":"https://www.cve.org/CVERecord?id=CVE-2026-54386","licence":"CVE Terms of Use","modified":"2026-11-08T14:05:19.100Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-8m59-7xv8-735h","url":"https://github.com/advisories/GHSA-8m59-7xv8-735h","licence":"CC-BY-4.0","modified":"2026-07-13T16:43:20.650Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-54386","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54386","licence":"Public domain","modified":"2026-10-26T11:10:00.157Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-2619","url":"https://osv.dev/vulnerability/PYSEC-2026-2619","licence":"CC-BY-4.0","modified":"2026-07-13T16:32:12.434Z"}],"updatedAt":"2026-11-25T22:59:25.009Z","epss":{"score":0.00443,"percentile":0.40243,"date":"2026-12-01T12:00:22.000Z"}}