{"id":"CVE-2021-32862","state":"PUBLISHED","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).","publishedAt":"2022-08-18T00:00:00.000Z","updatedAt":"2024-09-02T21:02:59.728Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["jupyter nbconvert"],"affected":[{"vendor":"jupyter","product":"nbconvert","versions":[{"version":"<= 6.2","status":"affected"}]}],"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://lists.debian.org/debian-lts-announce/2024/09/msg00004.html"],"weaknesses":["CWE-79"],"ingestedAt":"2026-10-29T19:48:33.225Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/32xxx/CVE-2021-32862.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2021-32862","state":"PUBLISHED","datePublished":"2022-08-18T00:00:00.000Z","dateUpdated":"2024-09-02T21:02:59.728Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2021-05-12T00:00:00.000Z"},"containers":{"cna":{"title":"nbconvert vulnerable to cross-site scripting (XSS) via multiple exploit paths","descriptions":[{"lang":"en","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)."}],"affected":[{"vendor":"jupyter","product":"nbconvert","versions":[{"version":"<= 6.2","status":"affected"}]}],"references":[{"url":"https://github.com/jupyter/nbconvert/security/advisories/GHSA-9jmq-rx5f-8jwq"},{"url":"https://github.com/jupyter/nbviewer/security/advisories/GHSA-h274-fcvj-h2wm"},{"url":"https://lists.debian.org/debian-lts-announce/2023/06/msg00003.html","name":"[debian-lts-announce] 20230603 [SECURITY] [DLA 3442-1] nbconvert security update","tags":["mailing-list"]}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","type":"CWE","lang":"en","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2023-06-03T00:00:00.000Z"},"source":{"advisory":"GHSA-9jmq-rx5f-8jwq","discovery":"UNKNOWN"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/jupyter/nbconvert/security/advisories/GHSA-9jmq-rx5f-8jwq","tags":["x_transferred"]},{"url":"https://github.com/jupyter/nbviewer/security/advisories/GHSA-h274-fcvj-h2wm","tags":["x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/06/msg00003.html","name":"[debian-lts-announce] 20230603 [SECURITY] [DLA 3442-1] nbconvert security update","tags":["mailing-list","x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/09/msg00004.html"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-09-02T21:02:59.728Z"}}]}}}