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 in PyPI

  • 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

References