CVE-2018-19351: XSS
Published Nov 18, 2018
·Updated
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.
Affected Software
2 affected componentsFixes available
jupyter notebook<5.7.1
pip/notebook<5.7.1
5.7.1
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
pip/notebookto a version that resolves this vulnerability.Fixed in 5.7.1
Event History
Nov 18, 2018
CVE Published
via MITRE·05:00 PM
Data Sourced
via MITRE·05:00 PM
Description
Nov 21, 2018
Advisory Published
via GitHub·10:15 PM