Security mailing lists by PureSourceCode

CVE-2021-32862

MEDIUM 5.4CVSS 3.1

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

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

Published
18 Aug 2022
Last modified
10 Sep 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-79
Also known as
GHSA-9jmq-rx5f-8jwqGHSA-h274-fcvj-h2wmPYSEC-2022-249
Sources
NVDJSONOSV GHSA-9jmq-rx5f-8jwqJSONOSV PYSEC-2022-249JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 5.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
OSV GitHub CVSS 3.1 MEDIUM 5.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD jupyter nbconvert
cpe:2.3:a:jupyter:nbconvert:*:*:*:*:*:python:*:*
<= 6.2.0
NVD debian debian_linux
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
= 10.0
OSV PyPI nbconvert < 6.5.1 6.5.1
OSV PyPI nbconvert < 6.3.0a0 6.3.0a0

References

History

  • 25 Nov 2026 20:34 UTC · NVD: first stored (published 18 Aug 2022)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 18 Aug 2022)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 10 Aug 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.