Lucene search

K
osvGoogleOSV:GHSA-49QR-XH3W-H436
HistoryNov 21, 2018 - 10:15 p.m.

Jupyter Notebook XSS via untrusted notebooks

2018-11-2122:15:47
Google
osv.dev
14

EPSS

0.001

Percentile

48.8%

Jupyter Notebook before 5.7.1 allows XSS via an untrusted notebook because nbconvert responses are considered to have the same origin as the notebook server. In other words, nbconvert endpoints can execute JavaScript with access to the server API. In notebook/nbconvert/handlers.py, NbconvertFileHandler and NbconvertPostHandler do not set a Content Security Policy to prevent this.