CVE-2021-32862
published high CVSS 3.1 · 7.5nbconvert vulnerable to cross-site scripting (XSS) via multiple exploit paths
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| jupyter | — | nbconvert<= 6.2 | Affected | Not stated | GitHub_M |
| Debian | bullseye | nbconvert | Advisory build | 5.6.1-3+deb11u1 | DLA-3863-1 |
| Ubuntu | bionic | nbconvert | Advisory build | 5.3.1-1ubuntu0.1~esm3 | USN-9230-1 |
| Debian | buster | nbconvert | Advisory build | 5.4-2+deb10u1 | DLA-3442-1 |
| Ubuntu | focal | nbconvert | Advisory build | 5.6.1-1ubuntu0.1~esm3 | USN-9230-1 |
| Ubuntu | jammy | nbconvert | Advisory build | 6.4.0-1ubuntu0.1~esm3 | USN-9230-1 |
| Ubuntu | bionic | jupyter-nbconvert | Advisory build | 5.3.1-1ubuntu0.1~esm3 | USN-9230-1 |
| Ubuntu | bionic | python-nbconvert | Advisory build | 5.3.1-1ubuntu0.1~esm3 | USN-9230-1 |
Show 5 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | bionic | python3-nbconvert | Advisory build | 5.3.1-1ubuntu0.1~esm3 | USN-9230-1 |
| Ubuntu | focal | jupyter-nbconvert | Advisory build | 5.6.1-1ubuntu0.1~esm3 | USN-9230-1 |
| Ubuntu | focal | python3-nbconvert | Advisory build | 5.6.1-1ubuntu0.1~esm3 | USN-9230-1 |
| Ubuntu | jammy | jupyter-nbconvert | Advisory build | 6.4.0-1ubuntu0.1~esm3 | USN-9230-1 |
| Ubuntu | jammy | python3-nbconvert | Advisory build | 6.4.0-1ubuntu0.1~esm3 | USN-9230-1 |
Description
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).
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| jupyter | nbconvert | <= 6.2 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-79 CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
4- https://github.com/jupyter/nbconvert/security/advisories/GHSA-9jmq-rx5f-8jwq
- https://github.com/jupyter/nbviewer/security/advisories/GHSA-h274-fcvj-h2wm
- [debian-lts-announce] 20230603 [SECURITY] [DLA 3442-1] nbconvert security update https://lists.debian.org/debian-lts-announce/2023/06/msg00003.html
- https://lists.debian.org/debian-lts-announce/2024/09/msg00004.html
Provider assertions
2GitHub_M · cna
nbconvert vulnerable to cross-site scripting (XSS) via multiple exploit paths
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- f04afaa710256444f6028f5d10106a86a4cab940717b3f8eea9325a0081915bc
- Ingested
- 23 Sep 2026, 07:54:37 UTC
- Source record
- Official CVE record