{"id":"CVE-2024-43805","published":"2024-08-28T19:43:20Z","modified":"2024-08-28T19:58:57Z","title":"HTML injection in Jupyter Notebook and JupyterLab leading to DOM Clobbering","vendor":"jupyterlab","product":"jupyterlab","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.6,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00652,"percentile":0.45919,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/jupyterlab/jupyterlab/security/advisories/GHSA-9q39-rmj3-p4r2","tags":["x_refsource_CONFIRM"]}],"priority":{"score":14.5,"factors":[{"name":"EPSS percentile","points":9.18},{"name":"CVSS severity","points":5.32}]},"vendorSlug":"jupyterlab","affectedVersions":[{"vendor":"jupyterlab","product":"jupyterlab","versions":["notebook:  >= 7.0.0, <= 7.2.2","jupyterlab: >= 4.0.0, < 4.2.5","jupyterlab: < 3.6.8"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-08-28T19:58:47.317810Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"jupyterlab","vulnerableRanges":["<3.6.8",">=4.0.0, <4.2.5"],"patched":["3.6.8","4.2.5"],"from":["GHSA-9q39-rmj3-p4r2","PYSEC-2026-2536"],"provenance":"source"},{"ecosystem":"PyPI","package":"notebook","vulnerableRanges":[">=7.0.0, <7.2.2"],"patched":["7.2.2"],"from":["GHSA-9q39-rmj3-p4r2","PYSEC-2026-1481"],"provenance":"source"}],"summary":{"text":"JupyterLab and Jupyter Notebook contain an HTML injection flaw, enabling DOM Clobbering, in how Markdown cells and Markdown files are rendered, including through JupyterLab's Markdown preview feature. An attacker who can get a user to open a malicious notebook or Markdown file, which requires user interaction and no prior authentication or network-level access beyond delivering the file, can access any data the victim can reach and make arbitrary requests while acting as that user.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:48:17Z"},"euvd":{"id":"EUVD-2024-2550","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-jupyterlab-cve-2021-32797","parents":[{"from":"CVE-2021-32797","to":"CVE-2024-43805","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["packages/apputils/src/sanitizer.ts"],"commits":["https://github.com/jupyterlab/jupyterlab/commit/504825938c0abfa2fb8ff8d529308830a5ae42ed","https://github.com/jupyterlab/jupyterlab/commit/06ad9de836f155add7d3d651ef936cc4c5ea8093","https://github.com/jupyterlab/jupyterlab/commit/88e24baac551196f9cb3de16bd060a7ab1597674"],"basis":"shared function","functions":["Sanitizer"]}]}],"packageHistory":[{"cve":"CVE-2022-29238","published":"2022-06-14","fixed":"6.4.12","kev":false},{"cve":"CVE-2024-22420","published":"2024-01-19","fixed":"7.0.7","kev":false},{"cve":"CVE-2024-22421","published":"2024-01-19","fixed":"7.0.7","kev":false,"link":{"from":"CVE-2024-22421","to":"CVE-2024-43805","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:notebook","fromFixed":"7.0.7","toFixed":"7.2.2","daysApart":222},{"kind":"version-step","provenance":"source","package":"PyPI:jupyterlab","fromFixed":"4.0.11","toFixed":"4.2.5","daysApart":222}]}},{"cve":"CVE-2024-43805","published":"2024-08-28","fixed":"7.2.2","kev":false},{"cve":"CVE-2026-40171","published":"2026-05-06","fixed":"7.5.6","kev":false,"link":{"from":"CVE-2024-43805","to":"CVE-2026-40171","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:notebook","fromFixed":"7.2.2","toFixed":"7.5.6","daysApart":616}]}},{"cve":"CVE-2026-42557","published":"2026-05-13","fixed":"7.5.6","kev":false,"link":{"from":"CVE-2024-43805","to":"CVE-2026-42557","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:notebook","fromFixed":"7.2.2","toFixed":"7.5.6","daysApart":623}]}},{"cve":"CVE-2026-102831","published":"2026-09-29","fixed":"7.6.3","kev":false}],"package":"PyPI:notebook"}}