CVE-2024-43805HTML injection in Jupyter Notebook and JupyterLab leading to DOM Clobbering
jupyterlab is an extensible environment for interactive and reproducible computing, based on the Jupyter Notebook Architecture. This vulnerability depends on user interaction by opening a malicious notebook with Markdown cells, or Markdown file using JupyterLab preview feature. A malicious user can access any data that the attacked user has access to as well as perform arbitrary requests acting as the attacked user. JupyterLab v3.6.8, v4.2.5 and Jupyter Notebook v7.2.2 have been patched to resolve this issue. Users are advised to upgrade. There is no workaround for the underlying DOM Clobbering susceptibility. However, select plugins can be disabled on deployments which cannot update in a timely fashion to minimise the risk. These are: 1. `@jupyterlab/mathjax-extension:plugin` - users will loose ability to preview mathematical equations. 2. `@jupyterlab/markdownviewer-extension:plugin` - users will loose ability to open Markdown previews. 3. `@jupyterlab/mathjax2-extension:plugin` (if installed with optional `jupyterlab-mathjax2` package) - an older version of the mathjax plugin for JupyterLab 4.x. To disable these extensions run: ```jupyter labextension disable @jupyterlab/markdownviewer-extension:plugin && jupyter labextension disable @jupyterlab/mathjax-extension:plugin && jupyter labextension disable @jupyterlab/mathjax2-extension:plugin ``` in bash.
What to do
Fixed builds are available from Debian, PyPI: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | jupyterlab | Fix pending | UBUNTU-CVE-2024-43805 | |
| Ubuntu 26.04 | jupyter-notebook | Not affected vulnerable_code_not_present | ||
| Ubuntu 26.04 | jupyterlab | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | jupyter-notebook | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | jupyterlab | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2024-43805 | |
| Ubuntu 20.04 | jupyter-notebook | Not affected vulnerable_code_not_present | ||
| Debian 14 | jupyterlab | Fixed | 4.0.11+ds1+~cs11.25.27-3 | DEBIAN-CVE-2024-43805 |
| Debian 13 | jupyterlab | Fixed | 4.0.11+ds1+~cs11.25.27-3 | DEBIAN-CVE-2024-43805 |
| PyPI library | jupyterlab | Fixed | 3.6.8 | GHSA-9q39-rmj3-p4r2 |
| PyPI library | notebook | Fixed | 7.2.2 | GHSA-9q39-rmj3-p4r2 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- jupyterlab: affected: notebook: >= 7.0.0, <= 7.2.2, jupyterlab: >= 4.0.0, < 4.2.5, jupyterlab: < 3.6.8
References
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.