Vulnerabilities · 2021 · Jupyter
CVE-2021-32862
Jupyter Nbconvert vulnerability
The GitHub Security Lab discovered sixteen ways to exploit a cross-site scripting vulnerability in nbconvert. When using nbconvert to generate an HTML version of a user-controllable notebook, it is possible to inject arbitrary HTML which may lead to cross-site scripting (XSS) vulnerabilities if these HTML notebooks are served by a web server (eg: nbviewer).
Affected products
Nbconvert, Debian Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Jupyter Nbconvert runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/jupyter/nbconvert/security/advisories/GHSA-9jmq-rx5f-8jwq · Exploit
- lists.debian.org/debian-lts-announce/2023/06/msg00003.html · Third Party Advisory
- github.com/jupyter/nbviewer/security/advisories/GHSA-h274-fcvj-h2wm
- lists.debian.org/debian-lts-announce/2024/09/msg00004.html
- nvd.nist.gov/vuln/detail/CVE-2021-32862
- cve.org/CVERecord?id=CVE-2021-32862
More vulnerabilities in Jupyter products
CVE-2025-59842CVE-2025-53000CVE-2025-30167CVE-2024-43805CVE-2024-41942CVE-2024-39700CVE-2024-35225CVE-2024-35178All 47
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.