CVE-2021-32862
MEDIUM5.4EPSS 0.79%nbconvert - security update
Published: 8/10/2022Modified: 4/28/2026
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).
Affected packages (5)
- Debian/nbconvertfrom 0, < 5.6.1-3+deb11u1
- Debian/nbconvertfrom 0, < 5.4-2+deb10u1
- Debian/nbconvertfrom 0, < 5.6.1-3+deb11u1
- PyPI/nbconvertfrom 0, < 6.5.1
- PyPI/nbconvertfrom 0, < 6.3.0a0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
References (7)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2021-32862
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2021-32862
- PATCHhttps://github.com/jupyter/nbconvert
- WEBhttps://github.com/jupyter/nbconvert/security/advisories/GHSA-9jmq-rx5f-8jwq
- WEBhttps://github.com/jupyter/nbviewer/security/advisories/GHSA-h274-fcvj-h2wm
- WEBhttps://github.com/pypa/advisory-database/tree/main/vulns/nbconvert/PYSEC-2022-249.yaml
- WEBhttps://lists.debian.org/debian-lts-announce/2023/06/msg00003.html