cveboard RSS feed

CVE-2021-41134

CVE.org · Published

Historical CVEsJSONAI instructions

Record status
Published
Identifier year (not publication year)
2021
Source publication
Source updated
Imported by cveboard
Source snapshot
cve_2026-10-24_midnight_baseline ·

Plain text

CNA source text (English)

Stored XSS in Jupyter nbdime

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.

Scoped product and version facts

Fix information unknown; no fixed version is derived here. Missing information does not prove that no fix exists.

Exploitation unknown; this catalogue does not assess exploitation.

nbdime

Vendor
jupyter
Product
nbdime
Platforms
Unknown
Default status
Unknown
nbdime · Scoped product and version facts
Version (version)Status (status)Version scheme (versionType)Exclusive end (lessThan)Inclusive end (lessThanOrEqual)Status changes (at → status)
< 1.1.1 - nbdime (pip)affectedUnavailableUnavailableUnavailableNone listed
>= 2.0.0 , < 2.1.1 - nbdime (pip)affectedUnavailableUnavailableUnavailableNone listed
>= 3.0.0, < 3.1.1 - nbdime (pip)affectedUnavailableUnavailableUnavailableNone listed
< 5.0.2 - nbdime (npm)affectedUnavailableUnavailableUnavailableNone listed
>= 6.0.0, < 6.1.2 - nbdime (npm)affectedUnavailableUnavailableUnavailableNone listed
< 1.0.1 - nbdime-jupyterlab (npm)affectedUnavailableUnavailableUnavailableNone listed
>= 2.0.0, < 2.1.1 - nbdime-jupyterlab (npm)affectedUnavailableUnavailableUnavailableNone listed