nbdime provides tools for diffing and merging of Jupyter Notebooks. In affected versions a stored cross-site…
Historical advisory recorded 24 Oct 2026 19:17:25 UTC. Read the latest advisory.
nvd · CVE-2021-41134
Publishednbdime 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 advisoryAffected versions, risk and source history
nvd · CVE-2021-41134
PublishedNVD 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