CVE-2021-32862Jupyter Nbconvert
Medium 5.4
Follow: this CVE · Jupyter · Jupyter Nbconvert We alert you by email or Slack (account required).
- Priority
- 33
- CVSS 3.1
- 5.4
- EPSS
- 1.5% probability of exploitation in 30 days · percentile 75
- Auth required
- Yes
- Published
- Aug 18, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
What happens
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).
What to do
- Apply the vendor's security update for Nbconvert.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | nbconvert |
< 6.5.1 |
6.5.1 |
pip install "nbconvert>=6.5.1" |
| PyPI | nbconvert |
< 6.3.0a0 |
6.3.0a0 |
pip install "nbconvert>=6.3.0a0" |
Per OSV / GitHub Advisories (GHSA-9jmq-rx5f-8jwq, PYSEC-2022-249). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| jupyter | nbconvert | ≤ 6.2.0 |
| debian | debian_linux | 10.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Third Party Advisory
- github.com Broken Link
- lists.debian.org Mailing List Third Party Advisory
- lists.debian.org