Vulnerability Description
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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Jupyter | Notebook | < 5.7.1 |
Related Weaknesses (CWE)
References
- https://github.com/jupyter/notebook/blob/master/docs/source/changelog.rstRelease Notes
- https://github.com/jupyter/notebook/commit/107a89fce5f413fb5728c1c5d2c7788e1fb17PatchThird Party Advisory
- https://groups.google.com/forum/#%21topic/jupyter/hWzu2BSsplY
- https://lists.debian.org/debian-lts-announce/2020/11/msg00033.html
- https://pypi.org/project/notebook/#historyThird Party Advisory
- https://github.com/jupyter/notebook/blob/master/docs/source/changelog.rstRelease Notes
- https://github.com/jupyter/notebook/commit/107a89fce5f413fb5728c1c5d2c7788e1fb17PatchThird Party Advisory
- https://groups.google.com/forum/#%21topic/jupyter/hWzu2BSsplY
- https://lists.debian.org/debian-lts-announce/2020/11/msg00033.html
- https://pypi.org/project/notebook/#historyThird Party Advisory
FAQ
What is CVE-2018-19351?
CVE-2018-19351 is a vulnerability with a CVSS score of 6.1 (MEDIUM). 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 ex...
How severe is CVE-2018-19351?
CVE-2018-19351 has been rated MEDIUM with a CVSS base score of 6.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2018-19351?
Check the references section above for vendor advisories and patch information. Affected products include: Jupyter Notebook.