Vulnerabilities / CVE-2021-32798

critical

CVE-2021-32798

The Jupyter notebook is a web-based notebook environment for interacti ...

Published Modified CWE 79
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.6CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
GHSA7.8CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N
Bitnami9.7CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

Trivy's own label is CRITICAL. Rated critical by NVD, Bitnami. Rated lower by GHSA (high), Ubuntu (medium).

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 packages and fixed versions

SourcePackageFixed in
bitnami::Bitnami Vulnerability Databasejupyter-base-notebook, jupyter-notebook5.7.11, 6.4.1
debian 10jupyter-notebookno fix listed
debian 11jupyter-notebookno fix listed
debian 12jupyter-notebook6.4.3-1
debian 13jupyter-notebook6.4.3-1
debian 14jupyter-notebook6.4.3-1
debian 9jupyter-notebookno fix listed
echojupyter-notebook6.4.3-1
pip::GitHub Security Advisory pipnotebook5.7.11, 6.4.1
ubuntu 18.04-ESMjupyter-notebookno fix listed
Show all 11 entries from 10 sources
SourcePackageFixed in
bitnami::Bitnami Vulnerability Databasejupyter-base-notebook5.7.11, 6.4.1
bitnami::Bitnami Vulnerability Databasejupyter-notebook5.7.11, 6.4.1
debian 10jupyter-notebookno fix listed
debian 11jupyter-notebookno fix listed
debian 12jupyter-notebook6.4.3-1
debian 13jupyter-notebook6.4.3-1
debian 14jupyter-notebook6.4.3-1
debian 9jupyter-notebookno fix listed
echojupyter-notebook6.4.3-1
pip::GitHub Security Advisory pipnotebook5.7.11, 6.4.1
ubuntu 18.04-ESMjupyter-notebookno fix listed

References

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.