{"cve":"CVE-2021-32862","nvd":{"published":"2022-08-18T19:15:14.337","modified":"2026-06-17T03:53:46.860","status":"Modified","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).","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4},"cwes":["CWE-79"],"references":["https://github.com/jupyter/nbconvert/security/advisories/GHSA-9jmq-rx5f-8jwq","https://github.com/jupyter/nbviewer/security/advisories/GHSA-h274-fcvj-h2wm","https://lists.debian.org/debian-lts-announce/2023/06/msg00003.html","https://github.com/jupyter/nbconvert/security/advisories/GHSA-9jmq-rx5f-8jwq","https://github.com/jupyter/nbviewer/security/advisories/GHSA-h274-fcvj-h2wm"],"products":["debian:debian_linux","jupyter:nbconvert"],"source":"nvd","synced_at":"2026-10-19T21:34:18.502168378+00:00"},"epss":{"cve":"CVE-2021-32862","score":0.01476,"percentile":0.73862,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-9jmq-rx5f-8jwq","url":"https://osv.dev/vulnerability/GHSA-9jmq-rx5f-8jwq","summary":"nbconvert vulnerable to cross-site scripting (XSS) via multiple exploit paths","modified":"2026-09-10T03:50:06.998089106Z","packages":[{"ecosystem":"PyPI","name":"nbconvert","purl":"pkg:pypi/nbconvert","ranges":["<6.5.1"],"fixed":["6.5.1"]}]},{"id":"PYSEC-2022-249","url":"https://osv.dev/vulnerability/PYSEC-2022-249","summary":"","modified":"2023-11-08T04:06:02.784569Z","packages":[{"ecosystem":"PyPI","name":"nbconvert","purl":"pkg:pypi/nbconvert","ranges":["<6.3.0a0"],"fixed":["6.3.0a0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}