XSS in Jupyter Nbconvert
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).
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.015, 75.0th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Jupyter Nbconvert — versions <= 6.2
- Debian Linux — versions 10.0
Weakness classification (CWE)
References
- github.com/jupyter/nbconvert/security/advisories/GHSA-9jmq-rx5f-8jwq (Exploit, Third Party Advisory)
- github.com/jupyter/nbviewer/security/advisories/GHSA-h274-fcvj-h2wm (Broken Link)
- [debian-lts-announce] 20230603 [SECURITY] [DLA 3442-1] nbconvert security update (mailing-list, Mailing List, Third Party Advisory)
- lists.debian.org/debian-lts-announce/2024/09/msg00004.html