CVE-2021-32862: nbconvert vulnerable to cross-site scripting (XSS) via multiple exploit paths
Vulnerability summary
CVE-2021-32862 is a high (CVSS 7.5) vulnerability in debian debian_linux. EPSS estimates a 1.52% chance of exploitation in the next 30 days, higher than 75.4% of scored vulnerabilities. 1 public exploit is recorded.
Public exploit (GitHub, Date unknown)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 1 · Related 3Timeline
- 18-08-2022PublishedVulnerability first disclosed.
- 02-09-2024Last modifiedVulnerability information updated.
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).
CVSS metrics
7 scores · 7 sources · 1 version- OSV · PypiEcosystem advisory · calculated5.4MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:NDiffers
- OSV · UbuntuEcosystem advisory · calculated5.4MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:NDiffers
- OSV · DebianEcosystem advisory · calculated5.4MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:NDiffers
- OSV · WolfiEcosystem advisory · calculated5.4MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:NDiffers
- OSV · ChainguardEcosystem advisory · calculated5.4MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:NDiffers
- NVDNIST5.4MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:NDiffers
EPSS trend
Probability
1.52%
Chance of exploitation in the next 30 days
Percentile
75%
Versus all other CVEs
30-day change
No change 0.00 pp
From 1.52% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundNbconvert
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Debian2 products
- nbconvert< 6.5.1-1 | < 5.4-2+deb10u1 | < 5.6.1-3+deb11u1
- debian_linuxEOL10.0
Chainguard1 product
- kubeflow-pipelines-visualization-server< 2.4.0-r0
Jupyter1 product
- nbconvert≤ 6.2 | ≤ 6.2.0
PyPI1 product
- nbconvert< 6.5.1 | < 6.3.0a0
Ubuntu1 product
- nbconvertAll versions (No fix recorded) | < 5.3.1-1ubuntu0.1~esm3 | < 5.6.1-1ubuntu0.1~esm3 | < 6.4.0-1ubuntu0.1~esm3
Wolfi1 product
- kubeflow-pipelines-visualization-server< 2.4.0-r0
6 vendors · 7 products
References
11 links- github.com/jupyter/nbconvert/security/advisories/GHSA-9jmq-rx5f-8jwqWEBAdvisoryREPORTEVIDENCEExploitThird Party Advisory
- lists.debian.org/debian-lts-announce/2023/06/msg00003.htmlMailing ListWEBAdvisoryThird Party Advisory
- github.com/jupyter/nbconvertPACKAGE