Back
CVE-2018-19351
Jupyter Notebook before 5.7.1 allows XSS via an untrusted notebook because nbconvert responses are considered to have the same origin as…
Medium6.1EPSS 1.5%
- Published
- Updated
- Reserved
- Assigned by
- mitre
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.0 | Medium6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
- EPSS (exploitation in 30 days)
- 1.5% · top 25% of all CVEs (5 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.1.
Weakness
Affected products
n/a
- affected n/a
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- PyPInotebookGHSA-49qr-xh3w-h436 (opens in a new tab)
References (5)
- https://groups.google.com/forum/#%21topic/jupyter/hWzu2BSsplY (opens in a new tab)x_refsource_MISCx_transferred
- https://pypi.org/project/notebook/#history (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/jupyter/notebook/blob/master/docs/source/changelog.rst (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/jupyter/notebook/commit/107a89fce5f413fb5728c1c5d2c7788e1fb17491 (opens in a new tab)x_refsource_MISCx_transferred
- [debian-lts-announce] 20201119 [SECURITY] [DLA 2432-1] jupyter-notebook security update (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-49qr-xh3w-h436 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2018-19351)Record last updated .