Paper/Archive/CVE-2021-32798

CVE-2021-32798

jupyter notebook — Failure to Sanitize Special Elements into a Different Plane (Special Element Injection) in notebook

Description · from the CVE record

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

ProductAffectedFixed inSource
notebook>= 6.0.0, < 6.4.1–CNA
notebook< 5.7.11–CNA

Scores by source

GitHub_M (CNA)10.0CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N
NVD9.6CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

References

refgithub.com/jupyter/notebook/security/advisories/GHSA-hwvq-6gjx-j797refgithub.com/jupyter/notebook/commit/79fc76e890a8ec42f73a3d009e44ef84c14ef0d5