{"answers":{"affected":"11 open source packages ship an affected version, including jupyterlab, jupyter-base-notebook and jupyter-notebook. It affects 2 products.","exploited":"There is no known exploitation of CVE-2024-43805 in the wild and no public exploit code.","fix":"Upgrade jupyterlab to a fixed version for your release line: 4.2.5 or 3.6.8.","what":"CVE-2024-43805 is a high-severity cross-site scripting vulnerability in jupyterlab, published on 28 Aug 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2024-43805 and fix it if it is affected.\n\nWhat it is: CVE-2024-43805 is a high-severity cross-site scripting vulnerability in jupyterlab, published on 28 Aug 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2024-43805 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- jupyterlab (Bitnami): affected all versions; fixed in 4.2.5\n- jupyterlab (PyPI): affected all versions; fixed in 3.6.8, 4.2.5\n- jupyterlab (PyPI): affected all versions; fixed in 3.6.8\n- jupyterlab (PyPI): affected all versions; fixed in 3.6.8\n- jupyterlab (PyPI): affected from 4.0.0; fixed in 4.2.5\n- jupyterlab (PyPI): affected from 4.0.0; fixed in 4.2.5\n- jupyter-base-notebook (Bitnami): affected from 7.0.0; no fix listed\n- jupyter-notebook (Bitnami): affected from 7.0.0; fixed in 7.2.2\n- notebook (PyPI): affected from 7.0.0; fixed in 7.2.2\n- notebook (PyPI): affected from 7.0.0; fixed in 7.2.2\n- notebook (PyPI): affected from 7.0.0; fixed in 7.2.2\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-43805/ (Markdown: https://insights.sbomify.com/CVE-2024-43805/index.md)","id":"CVE-2024-43805","markdown":"https://insights.sbomify.com/CVE-2024-43805/index.md","name":"CVE-2024-43805","record":{"aliases":["BIT-jupyter-base-notebook-2024-43805","BIT-jupyter-notebook-2024-43805","BIT-jupyterlab-2024-43805","DEBIAN-CVE-2024-43805","GHSA-9q39-rmj3-p4r2","PYSEC-2026-1481","PYSEC-2026-2536","UBUNTU-CVE-2024-43805","openSUSE-SU-2024:0352-1"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["data_read","account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"JupyterLab","requires_auth":"none","summary":"Attackers can inject HTML via malicious notebooks to access user data and perform actions as the victim.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"jupyterlab","vendor":"jupyter"},{"product":"notebook","vendor":"jupyter"}],"cvss":{"score":7.6,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"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 \u0026\u0026 jupyter labextension disable @jupyterlab/mathjax-extension:plugin \u0026\u0026 jupyter labextension disable @jupyterlab/mathjax2-extension:plugin ``` in bash.","ecosystems":["Bitnami","PyPI","SUSE:Package Hub 15 SP5","SUSE:Package Hub 15 SP6","openSUSE:Leap 15.5","openSUSE:Leap 15.6"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"HTML injection in Jupyter Notebook and JupyterLab leading to DOM Clobbering","id":"CVE-2024-43805","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":null,"products":[],"type":"xss","year":"2024"},"n_packages":15,"n_references":1,"next":{"headline":"`rustix::fs::Dir` iterator with the `linux_raw` backend can cause memory explosion","id":"CVE-2024-43806"},"packages":[{"ecosystem":"Bitnami","fixed":[],"introduced":["7.0.0"],"last_affected":[],"package":"jupyter-base-notebook","purl":"pkg:bitnami/jupyter-base-notebook","source":"BIT-jupyter-base-notebook-2024-43805"},{"ecosystem":"Bitnami","fixed":["7.2.2"],"introduced":["7.0.0"],"last_affected":[],"package":"jupyter-notebook","purl":"pkg:bitnami/jupyter-notebook","source":"BIT-jupyter-notebook-2024-43805"},{"ecosystem":"Bitnami","fixed":["4.2.5"],"introduced":["0"],"last_affected":[],"package":"jupyterlab","purl":"pkg:bitnami/jupyterlab","source":"BIT-jupyterlab-2024-43805"},{"ecosystem":"PyPI","fixed":["3.6.8","4.2.5"],"introduced":["0","4.0.0"],"last_affected":[],"package":"jupyterlab","purl":"pkg:pypi/jupyterlab","source":"PYSEC-2026-2536"},{"ecosystem":"PyPI","fixed":["3.6.8"],"introduced":["0"],"last_affected":[],"package":"jupyterlab","purl":null,"source":"GHSA-9q39-rmj3-p4r2"},{"ecosystem":"PyPI","fixed":["3.6.8"],"introduced":["0"],"last_affected":[],"package":"jupyterlab","purl":"pkg:pypi/jupyterlab","source":"GHSA-9q39-rmj3-p4r2"},{"ecosystem":"PyPI","fixed":["4.2.5"],"introduced":["4.0.0"],"last_affected":[],"package":"jupyterlab","purl":null,"source":"GHSA-9q39-rmj3-p4r2"},{"ecosystem":"PyPI","fixed":["4.2.5"],"introduced":["4.0.0"],"last_affected":[],"package":"jupyterlab","purl":"pkg:pypi/jupyterlab","source":"GHSA-9q39-rmj3-p4r2"},{"ecosystem":"PyPI","fixed":["7.2.2"],"introduced":["7.0.0"],"last_affected":[],"package":"notebook","purl":null,"source":"GHSA-9q39-rmj3-p4r2"},{"ecosystem":"PyPI","fixed":["7.2.2"],"introduced":["7.0.0"],"last_affected":[],"package":"notebook","purl":"pkg:pypi/notebook","source":"GHSA-9q39-rmj3-p4r2"},{"ecosystem":"PyPI","fixed":["7.2.2"],"introduced":["7.0.0"],"last_affected":[],"package":"notebook","purl":"pkg:pypi/notebook","source":"PYSEC-2026-1481"},{"ecosystem":"SUSE:Package Hub 15 SP5","fixed":["2.2.10-bp156.3.3.1"],"introduced":["0"],"last_affected":[],"package":"python-jupyterlab","purl":"pkg:rpm/suse/python-jupyterlab\u0026distro=SUSE%20Package%20Hub%2015%20SP5","source":"openSUSE-SU-2024:0352-1"},{"ecosystem":"SUSE:Package Hub 15 SP6","fixed":["2.2.10-bp156.3.3.1"],"introduced":["0"],"last_affected":[],"package":"python-jupyterlab","purl":"pkg:rpm/suse/python-jupyterlab\u0026distro=SUSE%20Package%20Hub%2015%20SP6","source":"openSUSE-SU-2024:0352-1"},{"ecosystem":"openSUSE:Leap 15.5","fixed":["2.2.10-bp156.3.3.1"],"introduced":["0"],"last_affected":[],"package":"python-jupyterlab","purl":"pkg:rpm/opensuse/python-jupyterlab\u0026distro=openSUSE%20Leap%2015.5","source":"openSUSE-SU-2024:0352-1"},{"ecosystem":"openSUSE:Leap 15.6","fixed":["2.2.10-bp156.3.3.1"],"introduced":["0"],"last_affected":[],"package":"python-jupyterlab","purl":"pkg:rpm/opensuse/python-jupyterlab\u0026distro=openSUSE%20Leap%2015.6","source":"openSUSE-SU-2024:0352-1"}],"prev":{"headline":"OS Command Injection via Port Scan Functionality in Roxy-WI","id":"CVE-2024-43804"},"products":["jupyterlab"],"published":"2024-08-28","related":[{"cvss_score":10,"headline":"Remote Code Execution (RCE) vulnerability in jupyterlab extension template `update-integration-tests` GitHub Action","id":"CVE-2024-39700","kev_date_added":null,"published":"2024-07-16"},{"cvss_score":8.8,"headline":"JupyterLab has an Extension Manager API/GUI Policy Discrepancy, allowing 3rd party (malicious) extensions install via POST request","id":"CVE-2026-42266","kev_date_added":null,"published":"2026-05-13"},{"cvss_score":8.6,"headline":"jupyterlab: Command linker attributes in HTML enable one-click command execution from untrusted content","id":"CVE-2026-42557","kev_date_added":null,"published":"2026-05-13"},{"cvss_score":7.4,"headline":"JupyterLab: XSS due to lack of sanitization of the action attribute of an html \u003cform\u003e","id":"CVE-2021-32797","kev_date_added":null,"published":"2021-08-09"},{"cvss_score":2.1,"headline":"JupyterLab LaTeX typesetter links did not enforce `noopener` attribute","id":"CVE-2025-59842","kev_date_added":null,"published":"2025-09-26"}],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-08-28","vendors":["jupyterlab"]},"summary":"Attackers can inject HTML via malicious notebooks to access user data and perform actions as the victim.","url":"https://insights.sbomify.com/CVE-2024-43805/"}