Skip to content
Fencer Vulns
high 7.6

CVE-2024-43805 json

HTML injection in Jupyter Notebook and JupyterLab leading to DOM Clobbering

published 2024-08-28 2 y ago modified 2026-09-10 1 mo ago also BIT-jupyter-base-notebook-2024-43805 , BIT-jupyter-notebook-2024-43805 , BIT-jupyterlab-2024-43805 , EUVD-2024-2550 , GHSA-9q39-rmj3-p4r2 , PYSEC-2026-1481 , PYSEC-2026-2536

cvss
7.6
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.4%
EPSS 0.4% chance of exploitation in 30 days, percentile 34%
public exploits
0
none known

Summary

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.

Patch / fix

  • pypi jupyterlab 3.6.8, 4.2.5
  • pypi notebook 7.2.2
  • bitnami jupyter-notebook 7.2.2
  • bitnami jupyterlab 4.2.5
  • jupyter jupyterlab 3.6.8, 4.2.5
  • jupyter notebook 7.2.2
  • jupyterlab Debian 14, Debian 13 4.0.11+ds1+~cs11.25.27-3

debian advisories DEBIAN-CVE-2024-43805

  • python-jupyterlab Package Hub 15 SP6, Package Hub 15 SP5, openSUSE Leap 15.6 +1 more 2.2.10-bp156.3.3.1

opensuse advisories openSUSE-SU-2024:0352-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2024-43805 updated cvss 6.1

jupyterlab: JupyterLab Vulnerability Allows Data Access via Malicious Markdown

  • Red Hat All currently supported Red Hat products
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
2 y ago

Exploit prediction

0.40% chance of exploitation in the next 30 days, higher than 34% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 7.6 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L
GitHub 3.1 7.6 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L
NVD 3.1 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
OSV 3.1 7.6 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L

Affected packages

ecosystem package affected fixed in
pypi jupyterlab
<3.6.8
>=4.0.0, <4.2.5
3.6.8
4.2.5
pypi notebook
>=7.0.0, <7.2.2
7.2.2
bitnami jupyter-base-notebook
>=7.0.0
no fix listed
bitnami jupyter-notebook
>=7.0.0, <7.2.2
7.2.2
bitnami jupyterlab
<4.2.5
4.2.5

Affected products

  • jupyterlab jupyterlab

Classification

Weakness
  • CWE-79 Improper Neutralization of Input During Web Page Generation

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.