{"cve":"CVE-2021-32798","nvd":{"published":"2021-08-09T21:15:08.233","modified":"2026-06-17T03:53:39.107","status":"Modified","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","score":9.6},"cwes":["CWE-79"],"references":["https://github.com/jupyter/notebook/commit/79fc76e890a8ec42f73a3d009e44ef84c14ef0d5","https://github.com/jupyter/notebook/security/advisories/GHSA-hwvq-6gjx-j797","https://github.com/jupyter/notebook/commit/79fc76e890a8ec42f73a3d009e44ef84c14ef0d5","https://github.com/jupyter/notebook/security/advisories/GHSA-hwvq-6gjx-j797"],"products":["jupyter:notebook"],"source":"nvd","synced_at":"2026-10-19T21:21:13.713336758+00:00"},"epss":{"cve":"CVE-2021-32798","score":0.02106,"percentile":0.81754,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-hwvq-6gjx-j797","url":"https://osv.dev/vulnerability/GHSA-hwvq-6gjx-j797","summary":"Special Element Injection in notebook","modified":"2026-09-10T03:49:27.336198181Z","packages":[{"ecosystem":"PyPI","name":"notebook","purl":"pkg:pypi/notebook","ranges":["<5.7.11"],"fixed":["5.7.11"]},{"ecosystem":"PyPI","name":"notebook","purl":"pkg:pypi/notebook","ranges":[">=6.0.0 <6.4.1"],"fixed":["6.4.1"]}]},{"id":"PYSEC-2021-118","url":"https://osv.dev/vulnerability/PYSEC-2021-118","summary":"","modified":"2023-12-06T01:01:15.856930Z","packages":[{"ecosystem":"PyPI","name":"notebook","purl":"pkg:pypi/notebook","ranges":[">=5.7.0 <5.7.11"],"fixed":["5.7.11"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}