CVE-2021-32862 Detail

Current 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).

View Analysis Description

Analysis 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).

Severity

CVSS 3.x Severity and Metrics:

CVSS 2.0 Severity and Metrics:

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to [email protected].

Weakness Enumeration

CWE-ID CWE Name Source
CWE-79 Improper Neutralization of Input During Web Page Generation (‘Cross-site Scripting’) GitHub, Inc.  

Change History

1 change records found show changes

Initial Analysis 8/19/2022 9:34:58 PM

Action Type Old Value New Value
Added CPE Configuration
OR
     *cpe:2.3:a:jupyter:nbconvert:*:*:*:*:*:python:*:* versions up to (including) 6.2.0
Added CVSS V3.1
NIST AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Changed Reference Type
https://github.com/jupyter/nbconvert/security/advisories/GHSA-9jmq-rx5f-8jwq No Types Assigned
https://github.com/jupyter/nbconvert/security/advisories/GHSA-9jmq-rx5f-8jwq Exploit, Third Party Advisory
Changed Reference Type
https://github.com/jupyter/nbviewer/security/advisories/GHSA-h274-fcvj-h2wm No Types Assigned
https://github.com/jupyter/nbviewer/security/advisories/GHSA-h274-fcvj-h2wm Broken Link

Quick Info

CVE Dictionary Entry:
CVE-2021-32862
NVD Published Date:
08/18/2022
NVD Last Modified:
08/19/2022
Source:
GitHub, Inc.