CVE catalog

CVE-2021-32862

nbconvert: CVE-2021-32862

[CVE catalog]

Severity
High · CVSS 7.5CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Published
Source
[NVD] · [CVE record]
EPSS
1.48% · Oct 27, 2026

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

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiannbconvertsid7.17.1-2fixed
Debiannbconvertforky7.17.1-2fixed
Debiannbconverttrixie7.16.6-1+deb13u1fixed
Debiannbconvertbookworm6.5.3-3fixed
Ubuntunbconvert18.044.2.0-4vulnerable
Ubuntunbconvert18.045.3.1-1vulnerable
Ubuntunbconvert20.045.4-2ubuntu2vulnerable
Ubuntunbconvert20.045.6.0-1vulnerable
Ubuntunbconvert20.045.6.0-2vulnerable
Ubuntunbconvert20.045.6.1-1vulnerable
Ubuntunbconvert22.045.6.1-3vulnerable
Ubuntunbconvert22.046.1.0-1vulnerable
Ubuntunbconvert22.046.3.0-1vulnerable
Ubuntunbconvert22.046.4.0-1vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiannbconvertsourcesid6.5.1-1not yet assignedNot reportedNot reported
Debiannbconvertsourceforky6.5.1-1not yet assignedNot reportedNot reported
Debiannbconvertsourcetrixie6.5.1-1not yet assignedNot reportedNot reported
Debiannbconvertsourcebookworm6.5.1-1not yet assignedNot reportedNot reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Source package: [nbconvert]

    Details (2)
    • 6.5.3-3 · all · bookworm

      Fixed · Fixed: 6.5.1-1

      dsa · nbconvert · debian · bookworm; dsa · nbconvert · debian · 12

    • 6.5.3-3 · all · bookworm

      Fixed · Fixed: 6.5.1-1

      dsa · nbconvert · debian · bookworm; dsa · nbconvert · debian · 12

  • Source package: [nbconvert]

    Details (2)
    • 6.5.3-3 · all · bookworm

      Fixed · Fixed: 6.5.1-1

      dsa · nbconvert · debian · bookworm; dsa · nbconvert · debian · 12

    • 6.5.3-3 · all · bookworm

      Fixed · Fixed: 6.5.1-1

      dsa · nbconvert · debian · bookworm; dsa · nbconvert · debian · 12

  • Source package: [nbconvert]

    Details (2)
    • 6.5.3-3 · all · bookworm

      Fixed · Fixed: 6.5.1-1

      dsa · nbconvert · debian · bookworm; dsa · nbconvert · debian · 12

    • 6.5.3-3 · all · bookworm

      Fixed · Fixed: 6.5.1-1

      dsa · nbconvert · debian · bookworm; dsa · nbconvert · debian · 12

[Debian 13 (Trixie)]

  • Source package: [nbconvert]

    Details (2)
    • 7.16.6-1+deb13u1 · all · trixie

      Fixed · Fixed: 6.5.1-1

      dsa · nbconvert · debian · 13

    • 7.16.6-1+deb13u1 · all · trixie

      Fixed · Fixed: 6.5.1-1

      dsa · nbconvert · debian · 13

  • Source package: [nbconvert]

    Details (2)
    • 7.16.6-1+deb13u1 · all · trixie

      Fixed · Fixed: 6.5.1-1

      dsa · nbconvert · debian · 13

    • 7.16.6-1+deb13u1 · all · trixie

      Fixed · Fixed: 6.5.1-1

      dsa · nbconvert · debian · 13

  • Source package: [nbconvert]

    Details (2)
    • 7.16.6-1+deb13u1 · all · trixie

      Fixed · Fixed: 6.5.1-1

      dsa · nbconvert · debian · 13

    • 7.16.6-1+deb13u1 · all · trixie

      Fixed · Fixed: 6.5.1-1

      dsa · nbconvert · debian · 13

Observed:

References