Vulnerabilities · 2021 · Jupyter
CVE-2021-32797
Jupyterlab vulnerability
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.
Affected products
Jupyterlab. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Jupyterlab runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/jupyterlab/jupyterlab/commit/504825938c0abfa2fb8ff8d529308830a5ae42ed · Exploit
- github.com/jupyterlab/jupyterlab/security/advisories/GHSA-4952-p58q-6crx · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2021-32797
- github.com/google/security-research/security/advisories/GHSA-c469-p3jp-2vhx
- github.com/pypa/advisory-database/tree/main/vulns/jupyterlab/PYSEC-2021-130.yaml
- github.com/advisories/GHSA-4952-p58q-6crx
- nvd.nist.gov/vuln/detail/CVE-2021-32797
- cve.org/CVERecord?id=CVE-2021-32797
More vulnerabilities in Jupyter products
CVE-2025-59842CVE-2025-53000CVE-2025-30167CVE-2024-43805CVE-2024-41942CVE-2024-39700CVE-2024-35225CVE-2024-35178All 47
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.