{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-32798","published":"2021-08-09T21:15:08.233000Z","last_modified":"2026-06-17T03:53:39.107000Z","status":"Modified","cvss":{"version":"3.1","score":9.6,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-79"],"cpes":[{"criteria":"cpe:2.3:a:jupyter:notebook:*:*:*:*:*:*:*:*","part":"a","vendor":"jupyter","product":"notebook","version_start_including":"5.7.0","version_end_excluding":"5.7.11"},{"criteria":"cpe:2.3:a:jupyter:notebook:6.4.0:*:*:*:*:*:*:*","part":"a","vendor":"jupyter","product":"notebook","version":"6.4.0"}],"cpes_truncated":false,"vendors":["jupyter"],"products":["jupyter/notebook"],"epss":{"score":0.02106,"percentile":0.8244,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-hwvq-6gjx-j797","ecosystem":"PyPI","name":"notebook","purl":"pkg:pypi/notebook","ranges":[{"introduced":"0","fixed":"5.7.11"}],"versions":["0.0.0","4.0.0","4.0.1","4.0.2","4.0.4","4.0.5","4.0.6","4.1.0","4.2.0","4.2.0b1","4.2.1","4.2.2","4.2.3","4.3.0","4.3.1","4.3.2","4.4.0","4.4.1","5.0.0","5.0.0b1","5.0.0b2","5.0.0rc1","5.0.0rc2","5.1.0","5.1.0rc1","5.1.0rc2","5.1.0rc3","5.2.0","5.2.0rc1","5.2.1","5.2.1rc1","5.2.2","5.3.0","5.3.0rc1","5.3.1","5.4.0","5.4.1","5.5.0","5.5.0rc1","5.6.0","5.6.0rc1","5.7.0","5.7.1","5.7.10","5.7.2","5.7.3","5.7.4","5.7.5","5.7.6","5.7.8","5.7.9"],"versions_truncated":false},{"advisory":"GHSA-hwvq-6gjx-j797","ecosystem":"PyPI","name":"notebook","purl":"pkg:pypi/notebook","ranges":[{"introduced":"6.0.0","fixed":"6.4.1"}],"versions":["6.0.0","6.0.1","6.0.2","6.0.3","6.1.0","6.1.0rc1","6.1.1","6.1.2","6.1.3","6.1.4","6.1.5","6.1.6","6.2.0","6.3.0","6.4.0","6.4.0a0","6.4.0a1","6.4.0rc0"],"versions_truncated":false},{"advisory":"PYSEC-2021-118","ecosystem":"PyPI","name":"notebook","purl":"pkg:pypi/notebook","ranges":[{"introduced":"5.7.0","fixed":"5.7.11"}],"versions":["5.7.0","5.7.1","5.7.10","5.7.2","5.7.3","5.7.4","5.7.5","5.7.6","5.7.8","5.7.9"],"versions_truncated":false}],"severity":"critical","priority_score":73,"links":{"html_es":"/es/cve/CVE-2021-32798/","html_en":"/en/cve/CVE-2021-32798/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-32798","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-32798"},"untrusted":{"vendor_name":"Jupyter","product_name":"Notebook","desc_en":"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.","affected":[{"untrusted_vendor":"jupyter","untrusted_product":"notebook","versions":[]}],"references":[{"url":"https://github.com/jupyter/notebook/commit/79fc76e890a8ec42f73a3d009e44ef84c14ef0d5","tags":["Exploit","Third Party Advisory"]},{"url":"https://github.com/jupyter/notebook/security/advisories/GHSA-hwvq-6gjx-j797","tags":["Third Party Advisory"]}]}}