{"api_version":"1","generated_at":"2026-05-13T04:43:51+00:00","cve":"CVE-2021-32862","urls":{"html":"https://cve.report/CVE-2021-32862","api":"https://cve.report/api/cve/CVE-2021-32862.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-32862","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-32862"},"summary":{"title":"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).","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2022-08-18 19:15:00","updated_at":"2024-01-25 21:29:00"},"problem_types":["CWE-79"],"metrics":[],"references":[{"url":"https://github.com/jupyter/nbviewer/security/advisories/GHSA-h274-fcvj-h2wm","name":"https://github.com/jupyter/nbviewer/security/advisories/GHSA-h274-fcvj-h2wm","refsource":"MISC","tags":[],"title":"","mime":"text/plain","httpstatus":"404","archivestatus":"404"},{"url":"https://github.com/jupyter/nbconvert/security/advisories/GHSA-9jmq-rx5f-8jwq","name":"https://github.com/jupyter/nbconvert/security/advisories/GHSA-9jmq-rx5f-8jwq","refsource":"CONFIRM","tags":[],"title":"Multiple sanitization/validation issues  · Advisory · jupyter/nbconvert · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.debian.org/debian-lts-announce/2023/06/msg00003.html","name":"[debian-lts-announce] 20230603 [SECURITY] [DLA 3442-1] nbconvert security update","refsource":"MLIST","tags":[],"title":"[SECURITY] [DLA 3442-1] nbconvert security update","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-32862","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-32862","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"32862","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"10.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"32862","vulnerable":"1","versionEndIncluding":"6.2.0","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"jupyter","cpe5":"nbconvert","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"python","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2021-32862","qid":"181822","title":"Debian Security Update for nbconvert (DLA 3442-1)"},{"cve":"CVE-2021-32862","qid":"184464","title":"Debian Security Update for nbconvert (CVE-2021-32862)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2021-32862","STATE":"PUBLIC","TITLE":"nbconvert vulnerable to cross-site scripting (XSS) via multiple exploit paths"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"nbconvert","version":{"version_data":[{"version_value":"<= 6.2"}]}}]},"vendor_name":"jupyter"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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)."}]},"impact":{"cvss":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')"}]}]},"references":{"reference_data":[{"name":"https://github.com/jupyter/nbconvert/security/advisories/GHSA-9jmq-rx5f-8jwq","refsource":"CONFIRM","url":"https://github.com/jupyter/nbconvert/security/advisories/GHSA-9jmq-rx5f-8jwq"},{"name":"https://github.com/jupyter/nbviewer/security/advisories/GHSA-h274-fcvj-h2wm","refsource":"MISC","url":"https://github.com/jupyter/nbviewer/security/advisories/GHSA-h274-fcvj-h2wm"},{"refsource":"MLIST","name":"[debian-lts-announce] 20230603 [SECURITY] [DLA 3442-1] nbconvert security update","url":"https://lists.debian.org/debian-lts-announce/2023/06/msg00003.html"}]},"source":{"advisory":"GHSA-9jmq-rx5f-8jwq","discovery":"UNKNOWN"}},"nvd":{"publishedDate":"2022-08-18 19:15:00","lastModifiedDate":"2024-01-25 21:29:00","problem_types":["CWE-79"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE","baseScore":5.4,"baseSeverity":"MEDIUM"},"exploitabilityScore":2.3,"impactScore":2.7}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:jupyter:nbconvert:*:*:*:*:*:python:*:*","versionEndIncluding":"6.2.0","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"32862","Ordinal":"208250","Title":"CVE-2021-32862","CVE":"CVE-2021-32862","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"32862","Ordinal":"1","NoteData":"** RESERVED ** This candidate has been reserved by an organization or individual that will use it when announcing a new security problem. When the candidate has been publicized, the details for this candidate will be provided.","Type":"Description","Title":null}]}}}