CVE-2021-32862
nbconvert vulnerable to cross-site scripting (XSS) via multiple exploit paths
Reported by github_m · Published August 18, 2022
nbconvert is fixed in 6.5.1 and 6.3.0a0 (PyPI)
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).
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| nbconvert | PyPI | 6.5.1, 6.3.0a0 |
| kubeflow-pipelines-visualization-server | Wolfi | 2.4.0-r0 |
| nbconvert | jupyter | 6.2.0 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| jupyter | nbconvert | <= 6.2 |
| wolfi | kubeflow-pipelines-visualization-server | 0 |
| jupyter | nbconvert | 0 |
| chainguard | kubeflow-pipelines-visualization-server | 0 |
Timeline
- Aug 10, 2022 CVE Published
- Aug 19, 2022 EPSS Score (30 in total, the first dated here)
- Feb 4, 2026 CVE Updated
- Mar 9, 2026 Security Advisory
- Aug 1, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2021-32862
vulnetix vdb fixes CVE-2021-32862
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-32862/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart