Kurz gesagt
- CVE-2018-19351 ist eine Schwachstelle (MITTEL (CVSS 6.1)) in notebook, notebook (jupyter).
- Wahrscheinlichkeit einer Ausnutzung in den nächsten 30 Tagen (EPSS): 1.5%, höher als bei 74.5% aller Schwachstellen.
- Abhilfe: auf 5.7.1 oder neuer aktualisieren.
| Package | Affected versions | Patched versions |
|---|
| notebook PyPI | < 5.7.1
| 5.7.1
|
| notebook | < 5.7.1
| 5.7.1
|
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.
NVD 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.
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free