# CVE-2021-32862: nbconvert: The GitHub Security Lab discovered sixteen ways to exploit a cross-site scripting vulnerability in nbconvert

CVE-2021-32862 is fixed in nbconvert on 1 platform, first by DEBIAN-CVE-2021-32862, released August 18, 2022. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2021-32862
- Priority: Routine
- CVSS: 5.4 (medium)
- EPSS: 0.0152
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Aug 18, 2022

## 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).

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | nbconvert Debian 11.6 (bullseye) | 5.6.1-3+deb11u1 | [DLA-3863-1](https://patchblox.com/security/data/fix/linux/dla-3863-1.md) | Sep 2, 2024 |
| Linux | nbconvert Debian 12.15 (bookworm) | 6.5.1-1 | [DEBIAN-CVE-2021-32862](https://patchblox.com/security/data/fix/linux/debian-cve-2021-32862.md) | Aug 18, 2022 |
| Linux | nbconvert Debian 13.5 (trixie) | 6.5.1-1 | [DEBIAN-CVE-2021-32862](https://patchblox.com/security/data/fix/linux/debian-cve-2021-32862.md) | Aug 18, 2022 |
| Linux | nbconvert Debian 14 | 6.5.1-1 | [DEBIAN-CVE-2021-32862](https://patchblox.com/security/data/fix/linux/debian-cve-2021-32862.md) | Aug 18, 2022 |

---

Data as of 2026-11-09T07:25:28Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
