Skip to main content
← All vulnerabilities
CVE-2021-32798PYSEC-2021-118BIT-JUPYTER-BASE-NOTEBOOK-2021-32798BIT-JUPYTER-NOTEBOOK-2021-32798GHSA-HWVQ-6GJX-J797

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.4.1, 5.7.11
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • jupyter notebook

    From 6.0.0 · fixed in 6.4.1; fixed in 5.7.11

  • notebookPyPI

    From 5.7.0 · fixed in 5.7.11

  • notebookPyPI

    fixed in 5.7.11

  • notebookPyPI

    From 6.0.0 · fixed in 6.4.1

References 2

GitHub · jupyter/notebook