Skip to main content
CRITICAL

CVE-2021-32797

CVSS v3

9.6

CRITICAL

EPSS Score

2.7 %

exploit probability, as of 2026-10-18

CISA KEV

No

known exploited

Exploitation

—

SSVC status

Get an alert for each new CVE published for jupyterlab.

Set up CVE WatchFree account · no credit card

Affected and fixed versions

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • jupyterlabPyPIall versions · fixed in 1.2.21
  • jupyterlabBitnamiall versions · fixed in 1.2.21
  • notebookPyPIall versions · fixed in 5.7.11

Vendor advisories

  • CVE-2021-32797 Red Hat Product Security

    JupyterLab: unstrusted notebook can execute on load which could lead to an RCE

Full record on NVD

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.

Technical details

Published
2021-08-09

Frequently asked questions

What is CVE-2021-32797?

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.

Is CVE-2021-32797 actively exploited?

Active exploitation of CVE-2021-32797 has not been confirmed. Its EPSS score was 2.7% on 2026-10-18, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2021-32797?

CVE-2021-32797 has a CVSS v3 base score of 9.6 (CRITICAL severity).

Running jupyterlab? Hear about its next vulnerability

CVE Watch matches each new CVE to the vendors and products you list (vendor and product, not the version) and puts it in your alerts with its KEV and EPSS status.

Already have an account? Open CVE WatchNo credit card required · No monthly cap on website lookups · 250 API requests/month