ADVISORIES

Vulnerability

CVE-2021-32798

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.

5 advisories report this vulnerability, across 5 ecosystems.

Advisories

  • DEBIAN-CVE-2021-32798

    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…

    CVE-2021-32798 Debian Updated 23 October 2026
  • GHSA-hwvq-6gjx-j797

    Special Element Injection in notebook

    High CVE-2021-32798 PyPI Updated 10 September 2026
  • PYSEC-2021-118

    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…

    CVE-2021-32798 PyPI Updated 6 December 2023
  • UBUNTU-CVE-2021-32798

    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…

    CVE-2021-32798 Ubuntu Updated 24 October 2025
  • openSUSE-SU-2024:0231-1

    Security update for python-notebook

    CVE-2019-11358CVE-2021-32798 SUSEopenSUSE Updated 4 February 2026

References