CVE-2018-19351
Published: 18 November 2018
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.
Priority
CVSS 3 base score: 6.1
Status
Package | Release | Status |
---|---|---|
jupyter-notebook Launchpad, Ubuntu, Debian |
bionic |
Released
(5.2.2-1ubuntu0.1)
|
cosmic |
Ignored
(reached end-of-life)
|
|
disco |
Not vulnerable
(5.7.4-1)
|
|
eoan |
Ignored
(reached end-of-life)
|
|
focal |
Not vulnerable
(6.0.3-2)
|
|
groovy |
Ignored
(reached end-of-life)
|
|
hirsute |
Ignored
(reached end-of-life)
|
|
impish |
Ignored
(reached end-of-life)
|
|
jammy |
Not vulnerable
(6.4.8-1)
|
|
precise |
Does not exist
|
|
trusty |
Does not exist
|
|
upstream |
Released
(5.7.1)
|
|
xenial |
Does not exist
|
References
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-19351
- https://github.com/jupyter/notebook/commit/107a89fce5f413fb5728c1c5d2c7788e1fb17491
- https://github.com/jupyter/notebook/blob/master/docs/source/changelog.rst
- https://groups.google.com/forum/#!topic/jupyter/hWzu2BSsplY
- https://pypi.org/project/notebook/#history
- https://ubuntu.com/security/notices/USN-5585-1
- NVD
- Launchpad
- Debian