Live threats

All CVEs / Jupyter

CVE-2021-32798Jupyter Notebook

Critical 9.6 No auth needed

Priority
73
CVSS 3.1
9.6
EPSS
2.1%
probability of exploitation in 30 days · percentile 82
Auth required
No
Published
Aug 9, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

What happens

The Jupyter notebook is a web-based notebook environment for interactive computing. In affected versions untrusted notebook can execute code on load. Jupyter Notebook uses a deprecated version of Google Caja to sanitize user inputs. A public Caja bypass can be used to trigger an XSS when a victim opens a malicious ipynb document in Jupyter Notebook. The XSS allows an attacker to execute arbitrary code on the victim computer using Jupyter APIs.

Original NVD text.

What to do

  1. Apply the vendor's security update for Notebook.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI notebook < 5.7.11 5.7.11 pip install "notebook>=5.7.11"
PyPI notebook ≥ 6.0.0 < 6.4.1 6.4.1 pip install "notebook>=6.4.1"
PyPI notebook ≥ 5.7.0 < 5.7.11 5.7.11 pip install "notebook>=5.7.11"

Per OSV / GitHub Advisories (GHSA-hwvq-6gjx-j797, PYSEC-2021-118). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
jupyternotebook≥ 5.7.0 < 5.7.11
jupyternotebook6.4.0

Official sources

References

Links published by the sources. Open them with care.