CVE-2021-32862

medium

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

References

https://lists.debian.org/debian-lts-announce/2023/06/msg00003.html

https://github.com/jupyter/nbviewer/security/advisories/GHSA-h274-fcvj-h2wm

https://github.com/jupyter/nbconvert/security/advisories/GHSA-9jmq-rx5f-8jwq

Details

Source: Mitre, NVD

Published: 2022-08-18

Updated: 2024-01-25

Risk Information

CVSS v2

Base Score: 5.5

Vector: CVSS2#AV:N/AC:L/Au:S/C:P/I:P/A:N

Severity: Medium

CVSS v3

Base Score: 5.4

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Severity: Medium