CVE-2021-41134 – Stored XSS in Jupyter nbdime
https://notcve.org/view.php?id=CVE-2021-41134
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. • https://github.com/jupyter/nbdime/commit/e44a5cc7677f24b45ebafc756db49058c2f750ea https://github.com/jupyter/nbdime/security/advisories/GHSA-p6rw-44q7-3fw4 • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') •