Lucene search

K
osvGoogleOSV:PYSEC-2021-428
HistoryNov 03, 2021 - 6:15 p.m.

PYSEC-2021-428

2021-11-0318:15:00
Google
osv.dev
9
nbdime
jupyter notebooks
xss
diffnotebookcheckpoint
patch
security issue
stored xss

EPSS

0.001

Percentile

19.4%

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.

EPSS

0.001

Percentile

19.4%

Related for OSV:PYSEC-2021-428