Live threats

All CVEs / Jupyter

CVE-2021-32862Jupyter Nbconvert

Medium 5.4

Priority
33
CVSS 3.1
5.4
EPSS
1.5%
probability of exploitation in 30 days · percentile 75
Auth required
Yes
Published
Aug 18, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

What happens

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

Original NVD text.

What to do

  1. Apply the vendor's security update for Nbconvert.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI nbconvert < 6.5.1 6.5.1 pip install "nbconvert>=6.5.1"
PyPI nbconvert < 6.3.0a0 6.3.0a0 pip install "nbconvert>=6.3.0a0"

Per OSV / GitHub Advisories (GHSA-9jmq-rx5f-8jwq, PYSEC-2022-249). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
jupyternbconvert≤ 6.2.0
debiandebian_linux10.0

Official sources

References

Links published by the sources. Open them with care.