Skip to content
HighVulnerability

CVE-2024-43805: JupyterLab DOM Clobbering via malicious notebook or Markdown preview

Identifier
CVE-2024-43805
Published
Record updated
View JSON
Affected
  • jupyterlab <= 3.6.7, fixed in 3.6.8
  • notebook >= 7.0.0, <= 7.2.1, fixed in 7.2.2
  • jupyterlab >= 4.0.0, <= 4.2.4, fixed in 4.2.5
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.4%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

CVE-2024-43805 affects JupyterLab and Jupyter Notebook, and exploitation requires a user to open a malicious notebook with Markdown cells or a Markdown file using the JupyterLab preview feature. Through a DOM Clobbering susceptibility, an attacker can access any data the victim can access and perform arbitrary requests acting as the victim.

Mitigation

Patched in JupyterLab v3.6.8, v4.2.5 and Jupyter Notebook v7.2.2; users are advised to upgrade. No workaround exists for the underlying DOM Clobbering issue, but deployments that cannot update promptly can disable the plugins @jupyterlab/mathjax-extension:plugin, @jupyterlab/markdownviewer-extension:plugin and, if installed, @jupyterlab/mathjax2-extension:plugin, at the cost of losing math equation previews and Markdown previews, using: jupyter labextension disable @jupyterlab/markdownviewer-extension:plugin && jupyter labextension disable @jupyterlab/mathjax-extension:plugin && jupyter labextension disable @jupyterlab/mathjax2-extension:plugin