Cross-site Scripting (XSS) Affecting nbconvert package, versions <6.5.1-1


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
1.38% (70th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN13-NBCONVERT-5689869
  • published18 Apr 2023
  • disclosed18 Aug 2022

Introduced: 18 Aug 2022

CVE-2021-32862  (opens in a new tab)
CWE-79  (opens in a new tab)

How to fix?

Upgrade Debian:13 nbconvert to version 6.5.1-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream nbconvert package and not the nbconvert package as distributed by Debian. See How to fix? for Debian:13 relevant fixed versions and status.

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

CVSS Base Scores

version 3.1