Moderate severityNVD Advisory· Published Aug 18, 2022· Updated Sep 2, 2024
nbconvert vulnerable to cross-site scripting (XSS) via multiple exploit paths
CVE-2021-32862
Description
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).
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
nbconvertPyPI | < 6.5.1 | 6.5.1 |
Affected products
1Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
6- github.com/advisories/GHSA-9jmq-rx5f-8jwqghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2021-32862ghsaADVISORY
- github.com/jupyter/nbconvert/security/advisories/GHSA-9jmq-rx5f-8jwqghsaWEB
- github.com/jupyter/nbviewer/security/advisories/GHSA-h274-fcvj-h2wmghsaWEB
- github.com/pypa/advisory-database/tree/main/vulns/nbconvert/PYSEC-2022-249.yamlghsaWEB
- lists.debian.org/debian-lts-announce/2023/06/msg00003.htmlghsamailing-listWEB
News mentions
0No linked articles in our index yet.