ADVISORIES

Vulnerability

CVE-2021-32862

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

7 advisories report this vulnerability, across 5 ecosystems.

Advisories

  • CGA-pv9g-fg7v-q335
    CVE-2021-32862 ChainguardWolfi Updated 5 November 2026
  • DEBIAN-CVE-2021-32862

    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…

    CVE-2021-32862 Debian Updated 23 October 2026
  • DLA-3442-1

    nbconvert - security update

    CVE-2021-32862 Debian Updated 20 November 2026
  • DLA-3863-1

    nbconvert - security update

    CVE-2021-32862 Debian Updated 20 November 2026
  • GHSA-9jmq-rx5f-8jwq

    nbconvert vulnerable to cross-site scripting (XSS) via multiple exploit paths

    Moderate CVE-2021-32862 PyPI Updated 10 September 2026
  • PYSEC-2022-249

    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…

    CVE-2021-32862 PyPI Updated 8 November 2023
  • UBUNTU-CVE-2021-32862

    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…

    CVE-2021-32862 Ubuntu Updated 24 October 2025

References