> CVE-2021-41134 [HIGH]

« BACK_TO_HOME
PUBLISHED
2021-11-03 18:15
MODIFIED
2024-11-21 06:25
CVSS_SCORE V3
8.7
EPSS (Prob. Exploit)
0.70%
Top 46.5%
DATA SOURCES:
NVD 🔗 2025-10-18 CVE PROJECT 🔗 2026-01-19 FIRST EPSS 🔗 2026-11-08 GITHUB 🔗 2026-11-17 OSV 🔗 2026-11-15

> DESCRIPTION

nbdime provides tools for diffing and merging of Jupyter Notebooks. In affected versions a stored cross-site scripting (XSS) issue exists within the Jupyter-owned nbdime project. It appears that when reading the file name and path from disk, the extension does not sanitize the string it constructs before returning it to be displayed. The diffNotebookCheckpoint function within nbdime causes this issue. When attempting to display the name of the local notebook (diffNotebookCheckpoint), nbdime appears to simply append .ipynb to the name of the input file. The NbdimeWidget is then created, and the base string is passed through to the request API function. From there, the frontend simply renders the HTML tag and anything along with it. Users are advised to patch to the most recent version of the affected product.

> AFFECTED_PRODUCTS

Jupyter - Nbdime
>= 1.0.0 < 1.1.1
Jupyter - Nbdime
>= 2.0.0 < 2.1.1
Jupyter - Nbdime
>= 3.0.0 <= 3.1.1
Jupyter - Nbdime
>= 5.0.0 < 5.0.2
Jupyter - Nbdime
>= 6.0.0 < 6.1.2
Jupyter - Nbdime Jupyterlab
>= 1.0.0 < 1.0.1
Jupyter - Nbdime Jupyterlab
>= 2.0.0 < 2.1.1

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Network (N)
Exploit possible à distance via réseau (HTTP, API, etc.)
AC (Complexité d'Attaque)
Attack Complexity
Low (L)
Peu de conditions requises pour exploiter
PR (Privilèges Requis)
Privileges Required
Low (L)
Authentifié avec compte utilisateur basique
UI (Interaction Utilisateur)
User Interaction
Required (R)
Nécessite une action utilisateur (clic lien, ouverture fichier, etc.)
S (Périmètre)
Scope
Changed (C)
Impact s'étend au-delà du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
High (H)
Divulgation totale d'informations
I (Impact Intégrité)
Integrity Impact
High (H)
Modification totale des données possible
A (Impact Disponibilité)
Availability Impact
None (N)
Aucune interruption de service

> RÉSUMÉ DES IMPACTS

Confidentialité
High
Divulgation totale d'informations
Intégrité
High
Modification totale des données possible
Disponibilité
None
Aucune interruption de service

> GITHUB SECURITY ADVISORY

GHSA-p6rw-44q7-3fw4 MODERATE

Stored XSS in Jupyter nbdime

AFFECTED PACKAGES:
NPM / nbdime-jupyterlab
>= 2.0.0, < 2.1.1
Fixed in: 2.1.1
NPM / nbdime-jupyterlab
< 1.0.1
Fixed in: 1.0.1
NPM / nbdime
>= 6.0.0, < 6.1.2
Fixed in: 6.1.2
NPM / nbdime
< 5.0.2
Fixed in: 5.0.2
PIP / nbdime
>= 3.0.0, < 3.1.1
Fixed in: 3.1.1
PIP / nbdime
>= 2.0.0, < 2.1.1
Fixed in: 2.1.1
PIP / nbdime
< 1.1.1
Fixed in: 1.1.1

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

AFFECTED PACKAGES:
Unknown / Unknown
19 versions affected
ALIASES:
GHSA-p6rw-44q7-3fw4, PYSEC-2021-428

> HISTORIQUE DES MODIFICATIONS

Première apparition
03/11/2021 18:15
Source: NVD
📊 ENRICHISSEMENT 18/10/2025 14:29
CVEPROJECT
Champ modifié: CVE Project
Ancienne valeur:
Non
Nouvelle valeur:
Oui
Total des modifications: 1 Dernière mise à jour: 1 year ago
« BACK_TO_HOME