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.014 (71.1th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 71st percentile — 71.1% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.014 · newest: 0.014 · change: 0.000
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)
- lists.debian.org/debian-lts-announce/2023/06/msg00003.html (mailing-list, Mailing List, Third Party Advisory)
- af854a3a-2127-422b-91ae-364da2661108
Frequently asked questions
- What is CVE-2021-32862?
- CVE-2021-32862 is a high-severity vulnerability in Jupyter Nbconvert, classified under Cross-site Scripting. CVSS score: 7.5/10. Published 2022-08-18.
- How severe is CVE-2021-32862?
- High severity. CVSS v3 base score is 7.5 out of 10.