{"id":"CVE-2021-32862","published":"2022-08-18T00:00:00Z","modified":"2024-09-02T21:02:59Z","title":"nbconvert vulnerable to cross-site scripting (XSS) via multiple exploit paths","vendor":"jupyter","product":"nbconvert","tier":"tail","description":{"text":"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).","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0152,"percentile":0.75203,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/jupyter/nbconvert/security/advisories/GHSA-9jmq-rx5f-8jwq","tags":[]},{"url":"https://github.com/jupyter/nbviewer/security/advisories/GHSA-h274-fcvj-h2wm","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2023/06/msg00003.html","tags":["mailing-list"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/09/msg00004.html","tags":[]}],"priority":{"score":20.3,"factors":[{"name":"EPSS percentile","points":15.04},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"jupyter","affectedVersions":[{"vendor":"jupyter","product":"nbconvert","versions":["<= 6.2"]}],"affected":[{"ecosystem":"PyPI","package":"nbconvert","vulnerableRanges":["<6.5.1","<6.3.0a0"],"patched":["6.5.1","6.3.0a0"],"from":["GHSA-9jmq-rx5f-8jwq","PYSEC-2022-249"],"provenance":"source"}],"summary":{"text":"The nbconvert component of Jupyter's nbconvert product contains a cross-site scripting flaw in its HTML export: when a user-controllable notebook is converted to HTML, arbitrary HTML can be injected into the output. An attacker who can get such a notebook processed and then served by a web server, such as nbviewer, can run script in victims' browsers, and the exploit requires low-privileged access to supply the notebook, high-complexity conditions, and no user interaction beyond normal use of the served page.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:15:15Z"},"euvd":{"id":"EUVD-2022-0161","exploited":false,"provenance":"source"}}