{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-32862","id":"CVE-2021-32862","title":"nbconvert vulnerable to cross-site scripting (XSS) via multiple exploit paths","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).","descriptionLong":"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":"2022-08-18T00:00:00.000Z","updated":"2026-10-20T10:53:47.343146304Z","reserved":"2021-05-12T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub_M"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"github.com"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"GitHub"}],"rating":"high","products":["jupyter nbconvert"],"affectedProducts":[{"vendor":"jupyter","product":"nbconvert","defaultStatus":null,"versions":[{"version":"<= 6.2","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"nbconvert","purl":"pkg:pypi/nbconvert","ranges":["<6.5.1","<6.3.0a0"],"fixed":["6.5.1","6.3.0a0"],"advisory":"GHSA-9jmq-rx5f-8jwq"}],"cwes":["CWE-79"],"aliases":["GHSA-9jmq-rx5f-8jwq","GHSA-h274-fcvj-h2wm","PYSEC-2022-249"],"references":[{"url":"https://github.com/jupyter/nbconvert/security/advisories/GHSA-9jmq-rx5f-8jwq","tags":["x_transferred","Exploit","Third Party Advisory","evidence","web","advisory"]},{"url":"https://github.com/jupyter/nbviewer/security/advisories/GHSA-h274-fcvj-h2wm","tags":["x_transferred","Broken Link","advisory","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/06/msg00003.html","tags":["mailing-list","x_transferred","Mailing List","Third Party Advisory","advisory","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/09/msg00004.html","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-32862","tags":["advisory"]},{"url":"https://github.com/jupyter/nbconvert","tags":["package"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/nbconvert/PYSEC-2022-249.yaml","tags":["web"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.0152,"epssPercentile":0.75125,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-32862","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-32862","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-32862","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-9jmq-rx5f-8jwq","ok":true,"note":"GHSA-9jmq-rx5f-8jwq"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-32862","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}