Critical severity · published Aug 9, 2021
CVE-2021-32797
JupyterLab is a user interface for Project Jupyter which will eventually replace the classic Jupyter Notebook
9.6
CVSS
2.7%
EPSS
No
On KEV
Description
JupyterLab is a user interface for Project Jupyter which will eventually replace the classic Jupyter Notebook. In affected versions untrusted notebook can execute code on load. In particular JupyterLab doesn’t sanitize the action attribute of html `<form>`. Using this it is possible to trigger the form validation outside of the form itself. This is a remote code execution, but requires user action to open a notebook.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
High
Integrity
High
Availability
High
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)2.7% · higher than 86% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
JU
Jupyterlab · Jupyter
before 1.2.21; 2.0.0 before 2.2.10; 2.3.0 before 2.3.2; 3.0.0 before 3.0.17; 3.1.0 before 3.1.4 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2021-32797
CVE.org
https://www.cve.org/CVERecord?id=CVE-2021-32797
Exploit
https://github.com/jupyterlab/jupyterlab/commit/504825938c0abfa2fb8ff8d529308830a5ae42ed
Third Party Advisory
https://github.com/jupyterlab/jupyterlab/security/advisories/GHSA-4952-p58q-6crx
More from Jupyterlab
9.8
CVE-2024-39700
JupyterLab extension template is a `copier` template for JupyterLab extensions
9.6
CVE-2026-42557
jupyterlab: Command linker attributes in HTML enable one-click command execution from untrusted content
8.8
CVE-2026-42266
JupyterLab has an Extension Manager API/GUI Policy Discrepancy allowing 3rd party (malicious) extensions install via POST request.
6.5
CVE-2024-22421
JupyterLab is an extensible environment for interactive and reproducible computing, based on the Jupyter Notebook and Architecture
6.1
CVE-2024-43805
jupyterlab is an extensible environment for interactive and reproducible computing, based on the Jupyter Notebook Architecture
