CVEfocus › CVE database › CVE-2024-43805

CVE-2024-43805HTML injection in Jupyter Notebook and JupyterLab leading to DOM Clobbering

CVSS 7.6 HighEPSS 0.7% (higher than 46% of CVEs)Published 2024-08-28Updated 2024-08-28Assigner: GitHub_M

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.

CWE-79

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

4Fixed
1Fix pending
1Will not fix
4Not affected

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10jupyterlabFix pendingUBUNTU-CVE-2024-43805
Ubuntu 26.04jupyter-notebookNot affected
vulnerable_code_not_present
Ubuntu 26.04jupyterlabNot affected
vulnerable_code_not_present
Ubuntu 25.10jupyter-notebookNot affected
vulnerable_code_not_present
Ubuntu 25.10jupyterlabWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2024-43805
Ubuntu 20.04jupyter-notebookNot affected
vulnerable_code_not_present
Debian 14jupyterlabFixed4.0.11+ds1+~cs11.25.27-3DEBIAN-CVE-2024-43805
Debian 13jupyterlabFixed4.0.11+ds1+~cs11.25.27-3DEBIAN-CVE-2024-43805
PyPI libraryjupyterlabFixed3.6.8GHSA-9q39-rmj3-p4r2
PyPI librarynotebookFixed7.2.2GHSA-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.

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.