What’s Vulnerable › Vulnerabilities

CVE-2021-32798: Failure to Sanitize Special Elements into a Different Plane (Special Element Injection) in notebook

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.

Affected products

How to fix

Upgrade to a fixed version: jupyter notebook 5.7.11. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2021-32798 or the next vulnerability affects your stack