{"id":"CVE-2021-32862","details":"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).","aliases":["GHSA-9jmq-rx5f-8jwq","GHSA-h274-fcvj-h2wm","PYSEC-2022-249"],"modified":"2026-04-09T08:04:05.228130Z","published":"2022-08-18T19:15:14.337Z","related":["CGA-645r-5wfv-8679","GHSA-9jmq-rx5f-8jwq","GHSA-h274-fcvj-h2wm"],"references":[{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/09/msg00004.html"},{"type":"ADVISORY","url":"https://github.com/jupyter/nbviewer/security/advisories/GHSA-h274-fcvj-h2wm"},{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2023/06/msg00003.html"},{"type":"EVIDENCE","url":"https://github.com/jupyter/nbconvert/security/advisories/GHSA-9jmq-rx5f-8jwq"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/jupyter/nbconvert","events":[{"introduced":"0"},{"last_affected":"c663c75339709c0e1c051d684dba0cf10fa9083e"}],"database_specific":{"versions":[{"introduced":"0"},{"last_affected":"6.2.0"}]}}],"versions":["4.0.0","4.1.0","4.2.0","5.0.0","5.1","5.1.0","5.1.1","5.2.1","5.3.0","5.3.1","5.4","5.4.1","5.5","5.5.0","5.6.0","5.6.1","6.0.0","6.0.0a0","6.0.0a1","6.0.0a2","6.0.0a3","6.0.0a4","6.0.0a5","6.0.0a6","6.0.0b7","6.0.0rc0","6.0.1","6.0.2","6.0.3","6.0.4","6.0.5","6.0.7","6.1.0","6.1.0rc0","6.1.1b0","6.2.0","6.2.0rc0","6.2.0rc1","6.2.0rc2"],"database_specific":{"unresolved_ranges":[{"events":[{"introduced":"0"},{"last_affected":"10.0"}]}],"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-32862.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"}]}