Jupyter Notebook XSS Vulnerability: Arbitrary Code Execution via Malicious ipynb Documents

Jupyter Notebook XSS Vulnerability: Arbitrary Code Execution via Malicious ipynb Documents

CVE-2021-32798 · CRITICAL Severity

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

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.

Learn more about our Web App Pen Testing.