CVE-2024-43805
MEDIUM 6.1CVSS 3.1HTML 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.
- Published
- 28 Aug 2024
- Last modified
- 13 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-79
- Also known as
- BIT-jupyter-base-notebook-2024-43805BIT-jupyter-notebook-2024-43805BIT-jupyterlab-2024-43805GHSA-9q39-rmj3-p4r2PYSEC-2026-1481PYSEC-2026-2536
- Sources
- NVDJSONOSV GHSA-9q39-rmj3-p4r2JSONOSV PYSEC-2026-1481JSONOSV PYSEC-2026-2536JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:L/SC:N/SI:N/SA:N | |
| OSV | PyPA | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:L/SC:N/SI:N/SA:N | |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L |
| OSV | GitHub | CVSS 3.1 | HIGH 7.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L |
| OSV | PyPA | CVSS 3.1 | HIGH 7.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | jupyter | jupyterlabcpe:2.3:a:jupyter:jupyterlab:*:*:*:*:*:*:*:* |
< 3.6.8 | 3.6.8 |
| NVD | jupyter | jupyterlabcpe:2.3:a:jupyter:jupyterlab:*:*:*:*:*:*:*:* |
>= 4.0.0, < 4.2.5 | 4.2.5 |
| NVD | jupyter | notebookcpe:2.3:a:jupyter:notebook:*:*:*:*:*:*:*:* |
>= 7.0.0, < 7.2.2 | 7.2.2 |
| OSV | PyPI | jupyterlab | < 3.6.8 | 3.6.8 |
| OSV | PyPI | notebook | >= 7.0.0, < 7.2.2 | 7.2.2 |
| OSV | PyPI | jupyterlab | >= 4.0.0, < 4.2.5 | 4.2.5 |
| OSV | PyPI | jupyterlab | < 3.6.8; >= 4.0.0, < 4.2.5 | 3.6.8, 4.2.5 |
References
- https://github.com/jupyterlab/jupyterlab/security/advisories/GHSA-9q39-rmj3-p4r2 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-43805 · ADVISORY
- https://github.com/jupyterlab/jupyterlab/commit/06ad9de836f155add7d3d651ef936cc4c5ea8093 · WEB
- https://github.com/jupyterlab/jupyterlab/commit/88e24baac551196f9cb3de16bd060a7ab1597674 · WEB
- https://github.com/jupyterlab/jupyterlab · PACKAGE
- https://pypi.org/project/jupyterlab · PACKAGE
- https://github.com/advisories/GHSA-9q39-rmj3-p4r2 · ADVISORY
History
- 25 Nov 2026 20:56 UTC · NVD: first stored (published 28 Aug 2024)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 13 Jul 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 29 Aug 2024)