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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.6
- **CVSS:** 7.6 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.65% (percentile 46, 2026-11-26)
- **CWE:** CWE-79
- **Aliases:** 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
- **Published:** 2024-08-28T19:43:20.007Z
- **Modified:** 2026-07-13T16:43:05.974Z

## 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

## 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

- PyPI `jupyterlab`: affected \< 3.6.8; fixed 3.6.8, 4.2.5 (osv)
- PyPI `notebook`: affected \>= 7.0.0, \< 7.2.2; fixed 7.2.2 (osv)
- jupyterlab: notebook:  \>= 7.0.0, \<= 7.2.2; jupyterlab: \>= 4.0.0, \< 4.2.5; jupyterlab: \< 3.6.8 (cvelist)

## 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.

## Check your systems with an agent

Paste this into a coding agent:

```text
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.
```

## 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.

## References

- vendor: <https://github.com/jupyterlab/jupyterlab/security/advisories/GHSA-9q39-rmj3-p4r2>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2024-43805>
- vendor: <https://github.com/advisories/GHSA-9q39-rmj3-p4r2>
- patch: <https://github.com/jupyterlab/jupyterlab/commit/06ad9de836f155add7d3d651ef936cc4c5ea8093>
- patch: <https://github.com/jupyterlab/jupyterlab/commit/88e24baac551196f9cb3de16bd060a7ab1597674>
- other: <https://github.com/jupyterlab/jupyterlab>
- other: <https://pypi.org/project/jupyterlab>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-43805>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-9q39-rmj3-p4r2> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/PYSEC-2026-1481> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/PYSEC-2026-2536> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2024-43805> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-43805>
