notebook
Affected
- introduced
0, fixed5.7.1(ecosystem)
Fixed versions
5.7.1
Fix
- Fixed version
5.7.1pip install --upgrade notebook==5.7.1
Advisory
Also known as: CVE-2018-19351, PYSEC-2018-17
Jupyter Notebook XSS via untrusted notebooks
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.
Medium Basis: The source's own band: MODERATE
0, fixed 5.7.1 (ecosystem)5.7.1
5.7.1pip install --upgrade notebook==5.7.1Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0