Vulnerabilities · 2018 · Jupyter
CVE-2018-19351
Jupyter Notebook vulnerability
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 products
Notebook. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Jupyter Notebook runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/jupyter/notebook/commit/107a89fce5f413fb5728c1c5d2c7788e1fb17491 · Patch
- pypi.org/project/notebook/#history · Third Party Advisory
- github.com/jupyter/notebook/blob/master/docs/source/changelog.rst
- groups.google.com/forum/#%21topic/jupyter/hWzu2BSsplY
- lists.debian.org/debian-lts-announce/2020/11/msg00033.html
- nvd.nist.gov/vuln/detail/CVE-2018-19351
- groups.google.com/forum/#!topic/jupyter/hWzu2BSsplY
- github.com/pypa/advisory-database/tree/main/vulns/notebook/PYSEC-2018-17.yaml
- nvd.nist.gov/vuln/detail/CVE-2018-19351
- cve.org/CVERecord?id=CVE-2018-19351
More vulnerabilities in Jupyter products
CVE-2025-59842CVE-2025-53000CVE-2025-30167CVE-2024-43805CVE-2024-41942CVE-2024-39700CVE-2024-35225CVE-2024-35178All 47
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.