Incident report

JupyterLab Untrusted Notebook Markdown DOM Clobbering XSS

CVE-2024-43805 identified a DOM clobbering cross-site scripting (XSS) vulnerability in JupyterLab triggered when a user opened or previewed an untrusted `.ipynb` notebook or Markdown file. Crafted HTML elements inside Markdown cells clobbered global DOM properties used by JupyterLab's rendering pipeline, executing attacker JavaScript in the authenticated workspace session. Inside cloud ML notebooks, session script execution could invoke Jupyter terminal/kernel APIs to compromise model training code or exfiltrate secrets. Maintainers patched DOM sanitization in JupyterLab 4.2.5 and 3.6.8.

Incident record

Reported
Severity
Medium
Vector
Supply Chain
Affected system type
Interactive ML Development Workspaces
Reference
CVE-2024-43805
Reference URI
https://nvd.nist.gov/vuln/detail/CVE-2024-43805

Inspect in Interactive Incidents Hub

Defensive lesson

Treat shared ML notebooks as untrusted executable artifacts, isolate notebook kernels in per-user containers, and keep JupyterLab patched.

Referenced techniques