Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2024-43805

HIGH 7.6EPSS 46%

HTML injection in Jupyter Notebook and JupyterLab leading to DOM Clobbering

Also known as BIT-jupyter-base-notebook-2024-43805, BIT-jupyter-notebook-2024-43805, BIT-jupyterlab-2024-43805, GHSA-9q39-rmj3-p4r2, PYSEC-2026-1481, PYSEC-2026-2536

Mitigation

  • Upgrade jupyterlab to one of 3.6.8, 4.2.5 (or later in the same release line).
  • Upgrade notebook to 7.2.2 or later.

Who should check

  • Projects that depend on PyPI package jupyterlab (< 3.6.8)
  • Projects that depend on PyPI package notebook (>= 7.0.0, < 7.2.2)
  • Anyone running jupyterlab notebook: >= 7.0.0, <= 7.2.2; jupyterlab: >= 4.0.0, < 4.2.5; jupyterlab: < 3.6.8

Vulnerability facts

Affected
jupyterlab < 3.6.8; notebook >= 7.0.0, < 7.2.2
Fixed in
3.6.8, 4.2.5, 7.2.2
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
7.6 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:LOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Privileges required: None
  • User interaction: Required
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: Low
  • Availability impact: Low
EPSS
0.65% chance of exploitation in 30 days (percentile 46, 2026-11-26)
CWE
CWE-79
Published
Modified

Description

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.

Affected and fixed versions

Package / productAffectedFixedSource
PyPI jupyterlab< 3.6.83.6.8, 4.2.5osv
PyPI notebook>= 7.0.0, < 7.2.27.2.2osv
jupyterlabnotebook: >= 7.0.0, <= 7.2.2; jupyterlab: >= 4.0.0, < 4.2.5; jupyterlab: < 3.6.8—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2024-43805. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-43805.md
Affected: jupyterlab < 3.6.8; notebook >= 7.0.0, < 7.2.2
Fixed in: 3.6.8, 4.2.5, 7.2.2

Steps:
1. Search this machine and project for jupyterlab (PyPI), notebook (PyPI), jupyterlab: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2024-43805 being exploited?

There is no confirmed exploitation: CVE-2024-43805 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.65% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2024-43805?

High: CVSS 7.6 (v3.1, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.

Which versions are affected by CVE-2024-43805?

jupyterlab < 3.6.8; notebook >= 7.0.0, < 7.2.2.

Is there a fix for CVE-2024-43805?

Yes. Fixed in 3.6.8, 4.2.5, 7.2.2. Upgrade jupyterlab to one of 3.6.8, 4.2.5 (or later in the same release line). Upgrade notebook to 7.2.2 or later.

How do I check if I'm affected by CVE-2024-43805?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors