SecurityContext

CVE-2024-43805: JupyterLab - Stored XSS

  • Cve: CVE-2024-43805
  • Name: JupyterLab - Stored XSS
  • 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.
  • Impact: Attackers can access sensitive data and perform arbitrary actions as the user, leading to data breach and potential system compromise.
  • Remediation: Upgrade to patched versions: JupyterLab 3.6.8, 4.2.5, or Jupyter Notebook 7.2.2. Alternatively, disable affected extensions if update isn't feasible.
  • Vulnerability type: stored_xss
  • Vulnerability impact: information_disclosure, client_script_exec
  • Requirement type: user_interaction
  • Requirements: User must open a malicious notebook or Markdown file with preview feature
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6.1
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
  • Epss score: 0.00399
  • Epss percentile: 0.34635
  • Assignee: [email protected]
  • Published at: 2024-08-28T20:15:07Z
  • Age in days: 818
  • Modified at: 2026-06-17T07:51:44Z
  • Patch available: yes
  • References total: 1
  • Products total: 2
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-43805
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-79Improper Neutralization of Input During Web Page Generation

References

UrlSourceTags
https://github.com/jupyterlab/jupyterlab/security/advisories/GHSA-9q39-rmj3-p4r2nvdVendor Advisory

Products

ProductAffectedPlatform boundSourcesUrl
jupyter:jupyterlab>= 4.0.0, < 4.2.5; < 3.6.8nonvd/v1/products/jupyter/jupyterlab
jupyter:notebook>= 7.0.0, < 7.2.2nonvd/v1/products/jupyter/notebook

Projects

RepositoryLink kindsIndexedUrl
jupyterlab/jupyterlabcommit, fix, package, security_advisoryyes/v1/repositories/jupyterlab/jupyterlab

Index

  • Repositories: 326
  • Repositories high signal: 169
  • Packages: 2

Exploitation

  • Remote: yes
  • Exposed hosts: 3924
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports