{"id":"EUVD-2021-0140","revision":"03483e7f63fb425c9bafee96024b5fb5","records":[{"revision":"03483e7f63fb425c9bafee96024b5fb5","observedAt":"2026-11-01T19:57:58.039+00:00","statement":{"source":"euvd","id":"EUVD-2021-0140","aliases":["CVE-2021-41134","GHSA-p6rw-44q7-3fw4","PYSEC-2021-428"],"title":"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…","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.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","score":8.7,"severity":null}],"references":["https://github.com/jupyter/nbdime/security/advisories/GHSA-p6rw-44q7-3fw4","https://github.com/jupyter/nbdime/commit/e44a5cc7677f24b45ebafc756db49058c2f750ea"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2021-0140","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Nov 3, 2021, 5:50:10 PM","dateUpdated":"Aug 4, 2024, 2:59:31 AM"},"relatedAdvisories":[{"id":"openSUSE-SU-2024:11630-1","title":"jupyter-nbdime-6.1.2-8.1 on GA media","vulnerabilityIds":["CVE-2021-41134"]}],"note":"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."},"key":"euvd:EUVD-2021-0140","identifiers":["EUVD-2021-0140","CVE-2021-41134","GHSA-p6rw-44q7-3fw4","PYSEC-2021-428"]},"retained":false,"historicalAffected":[]}],"coverage":[]}