cve.bz

CVE-2021-32798

9.6 criticalEPSS 2.1%

Critical (9.6) in jupyter notebook. EPSS 2.1% chance of exploitation in the next 30 days. Fixed in notebook 5.7.11, 6.4.1.

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.

Severity

CVSS 3.1

9.6 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
EPSS
2.1% chance of exploitation in the next 30 days; higher than 81% of CVEs (scores of 2026-10-31)
CWE
CWE-79
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-hwvq-6gjx-j797PyPInotebook<5.7.115.7.11
GHSA-hwvq-6gjx-j797PyPInotebook>=6.0.0 <6.4.16.4.1
PYSEC-2021-118PyPInotebook>=5.7.0 <5.7.115.7.11

References

Check your stackJSON