Public mode

No access to your tenant or devices. Every item links to its source. What this means

Sources need attention Customize Public modeDiscuss ChangeIntel on Discord

Stored XSS in Jupyter nbdime

CVSS 3.1 8.7 HIGHEUVD CVSS 3.1 8.7 CVSS 3.1 · [email protected] · Secondary 8.7 HIGHCVSS 3.1 · [email protected] · Primary 5.4 MEDIUMCVSS 2.0 · [email protected] · Primary 3.5 LOWCVSS_V3 CVSS_V4 Publisher rating MODERATEFixed by nbdime 1.1.1Fixed by nbdime 2.1.1Fixed by nbdime 3.1.1Fixed by nbdime 5.0.2KEV status unknown

cve-program · CVE-2021-41134

Published

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.

Read the publisher's advisory

euvd · EUVD-2021-0140

Published

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.

Read the publisher's advisory

nvd · CVE-2021-41134

Published

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.

Read the publisher's advisory

osv · GHSA-p6rw-44q7-3fw4

Published

### Impact Improper handling of user controlled input caused a stored cross-site scripting (XSS) vulnerability. All previous versions of nbdime are affected. ### Patches Security patches will be released for each of the major versions of the nbdime packages since version 1.x of the nbdime python package. #### Python - nbdime 1.x: Patched in v. 1.1.1 - nbdime 2.x: Patched in v. 2.1.1 - nbdime 3.x: Patched in v. 3.1.1 #### npm - nbdime 6.x version: Patched in 6.1.2 - nbdime 5.x version: Patched in 5.0.2 - nbdime-jupyterlab 1.x version: Patched in 1.0.1 - nbdime-jupyterlab 2.x version: Patched in 2.1.1 ### For more information If you have any questions or comments about this advisory email us at [[email protected]](mailto:[email protected]).

Read the publisher's advisory

Affected versions, risk and source history

cve-program · CVE-2021-41134

Published

nbdime

Vendor product

Publisher's version information

Shown as published. These rules are not interpreted as NuGet package version ranges.

{
                    "product": "nbdime",
                    "vendor": "jupyter",
                    "versions": [
                        {
                            "status": "affected",
                            "version": "< 1.1.1 - nbdime (pip)"
                        },
                        {
                            "status": "affected",
                            "version": ">= 2.0.0 , < 2.1.1 - nbdime (pip)"
                        },
                        {
                            "status": "affected",
                            "version": ">= 3.0.0, < 3.1.1 - nbdime (pip)"
                        },
                        {
                            "status": "affected",
                            "version": "< 5.0.2 - nbdime (npm)"
                        },
                        {
                            "status": "affected",
                            "version": ">= 6.0.0, < 6.1.2 - nbdime (npm)"
                        },
                        {
                            "status": "affected",
                            "version": "< 1.0.1 - nbdime-jupyterlab (npm)"
                        },
                        {
                            "status": "affected",
                            "version": ">= 2.0.0, < 2.1.1 - nbdime-jupyterlab (npm)"
                        }
                    ]
                }

Original source record · Cite this exact observation · Complete original publisher JSON

euvd · EUVD-2021-0140

Published

EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON.

Original publisher date fields

datePublished: Nov 3, 2021, 5:50:10 PM

dateUpdated: Aug 4, 2024, 2:59:31 AM

1 related source bulletins · separate from aliases

openSUSE-SU-2024:11630-1: jupyter-nbdime-6.1.2-8.1 on GA media

CVE-2021-41134

No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.

Original source record · Cite this exact observation · Complete original publisher JSON

nvd · CVE-2021-41134

Published

NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.

Source analysis status: Modified

Weakness classifications: CWE-79

Original publisher date fields

published: 2021-11-03T18:15:08.350

lastModified: 2026-06-17T04:07:56.550

3 source CPE criteria · context only
  • cpe:2.3:a:jupyter:nbdime:*:*:*:*:*:python:*:*
  • cpe:2.3:a:jupyter:nbdime:*:*:*:*:*:node.js:*:*
  • cpe:2.3:a:jupyter:nbdime-jupyterlab:*:*:*:*:*:node.js:*:*

The original JSON retains the logical configuration operators, exclusions and version bounds.

No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.

Original source record · Cite this exact observation · Complete original publisher JSON

osv · GHSA-p6rw-44q7-3fw4

Published

nbdime

PyPI

ECOSYSTEM · introduced 0 → fixed 1.1.1

20 versions listed as affected

0.1.0, 0.1.0.dev, 0.1.0b1, 0.1.1, 0.1.2, 0.2.0, 0.3.0, 0.4.0, 0.4.1, 1.0.0, 1.0.0rc0, 1.0.0rc1, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.0.6, 1.0.7, 1.1.0

nbdime

PyPI

ECOSYSTEM · introduced 2.0.0 → fixed 2.1.1

2 versions listed as affected

2.0.0, 2.1.0

nbdime

PyPI

ECOSYSTEM · introduced 3.0.0 → fixed 3.1.1

2 versions listed as affected

3.0.0, 3.1.0

nbdime

npm

SEMVER · introduced 0 → fixed 5.0.2

nbdime

npm

SEMVER · introduced 6.0.0 → fixed 6.1.2

nbdime-jupyterlab

npm

SEMVER · introduced 0 → fixed 1.0.1

nbdime-jupyterlab

npm

SEMVER · introduced 2.0.0 → fixed 2.1.1

Original source record · Cite this exact observation · Complete original publisher JSON

ChangeIntel

An IT change radar: releases, security, known issues, retirements, documentation changes, and service status from public sources. Every item links to supporting evidence; dates and statuses can change after they are read.

Sources read 25 Nov 15:36 UTC · 277 of 278 readable · 272 fully read · documentation 469/469 current