
CVE catalog
CVE-2021-32862
nbconvert: CVE-2021-32862
- Severity
- High · CVSS 7.5
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 1.48% · Oct 27, 2026
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).
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | nbconvert | sid | 7.17.1-2 | fixed |
| Debian | nbconvert | forky | 7.17.1-2 | fixed |
| Debian | nbconvert | trixie | 7.16.6-1+deb13u1 | fixed |
| Debian | nbconvert | bookworm | 6.5.3-3 | fixed |
| Ubuntu | nbconvert | 18.04 | 4.2.0-4 | vulnerable |
| Ubuntu | nbconvert | 18.04 | 5.3.1-1 | vulnerable |
| Ubuntu | nbconvert | 20.04 | 5.4-2ubuntu2 | vulnerable |
| Ubuntu | nbconvert | 20.04 | 5.6.0-1 | vulnerable |
| Ubuntu | nbconvert | 20.04 | 5.6.0-2 | vulnerable |
| Ubuntu | nbconvert | 20.04 | 5.6.1-1 | vulnerable |
| Ubuntu | nbconvert | 22.04 | 5.6.1-3 | vulnerable |
| Ubuntu | nbconvert | 22.04 | 6.1.0-1 | vulnerable |
| Ubuntu | nbconvert | 22.04 | 6.3.0-1 | vulnerable |
| Ubuntu | nbconvert | 22.04 | 6.4.0-1 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | nbconvert | source | sid | 6.5.1-1 | not yet assigned | Not reported | Not reported |
| Debian | nbconvert | source | forky | 6.5.1-1 | not yet assigned | Not reported | Not reported |
| Debian | nbconvert | source | trixie | 6.5.1-1 | not yet assigned | Not reported | Not reported |
| Debian | nbconvert | source | bookworm | 6.5.1-1 | not yet assigned | Not reported | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [jupyter-nbconvert]Fixed
Source package: [nbconvert]
Details (2)
6.5.3-3· all · bookwormFixed · Fixed:
6.5.1-1dsa · nbconvert · debian · bookworm; dsa · nbconvert · debian · 12
6.5.3-3· all · bookwormFixed · Fixed:
6.5.1-1dsa · nbconvert · debian · bookworm; dsa · nbconvert · debian · 12
- [python3-nbconvert]Fixed
Source package: [nbconvert]
Details (2)
6.5.3-3· all · bookwormFixed · Fixed:
6.5.1-1dsa · nbconvert · debian · bookworm; dsa · nbconvert · debian · 12
6.5.3-3· all · bookwormFixed · Fixed:
6.5.1-1dsa · nbconvert · debian · bookworm; dsa · nbconvert · debian · 12
- [python-nbconvert-doc]Fixed
Source package: [nbconvert]
Details (2)
6.5.3-3· all · bookwormFixed · Fixed:
6.5.1-1dsa · nbconvert · debian · bookworm; dsa · nbconvert · debian · 12
6.5.3-3· all · bookwormFixed · Fixed:
6.5.1-1dsa · nbconvert · debian · bookworm; dsa · nbconvert · debian · 12
[Debian 13 (Trixie)]
- [jupyter-nbconvert]Fixed
Source package: [nbconvert]
Details (2)
7.16.6-1+deb13u1· all · trixieFixed · Fixed:
6.5.1-1dsa · nbconvert · debian · 13
7.16.6-1+deb13u1· all · trixieFixed · Fixed:
6.5.1-1dsa · nbconvert · debian · 13
- [python3-nbconvert]Fixed
Source package: [nbconvert]
Details (2)
7.16.6-1+deb13u1· all · trixieFixed · Fixed:
6.5.1-1dsa · nbconvert · debian · 13
7.16.6-1+deb13u1· all · trixieFixed · Fixed:
6.5.1-1dsa · nbconvert · debian · 13
- [python-nbconvert-doc]Fixed
Source package: [nbconvert]
Details (2)
7.16.6-1+deb13u1· all · trixieFixed · Fixed:
6.5.1-1dsa · nbconvert · debian · 13
7.16.6-1+deb13u1· all · trixieFixed · Fixed:
6.5.1-1dsa · nbconvert · debian · 13
Observed:
References
- [https://osv.dev/vulnerability/DEBIAN-CVE-2021-32862]
- [https://osv.dev/vulnerability/DLA-3442-1]
- [https://osv.dev/vulnerability/DLA-3863-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2021-32862]
- [https://security-tracker.debian.org/tracker/CVE-2021-32862]
- [https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-32862.json]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]