UBUNTU-CVE-2018-19351 (CVE-2018-19351)
Vulnerability from osv_ubuntu – Published: 2018-11-18 17:29 – Updated: 2025-09-08 16:45 – Source websiteJupyter 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": [
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "jupyter-notebook",
"binary_version": "5.2.2-1ubuntu0.1"
},
{
"binary_name": "python-notebook",
"binary_version": "5.2.2-1ubuntu0.1"
},
{
"binary_name": "python3-notebook",
"binary_version": "5.2.2-1ubuntu0.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:18.04:LTS",
"name": "jupyter-notebook",
"purl": "pkg:deb/ubuntu/jupyter-notebook@5.2.2-1ubuntu0.1?arch=source\u0026distro=bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "5.2.2-1ubuntu0.1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"4.2.3-4",
"5.1.0-2",
"5.2.1-2",
"5.2.2-1"
]
}
],
"aliases": [],
"details": "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.",
"id": "UBUNTU-CVE-2018-19351",
"modified": "2025-09-08T16:45:05Z",
"published": "2018-11-18T17:29:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2018-19351"
},
{
"type": "REPORT",
"url": "https://github.com/jupyter/notebook/commit/107a89fce5f413fb5728c1c5d2c7788e1fb17491"
},
{
"type": "REPORT",
"url": "https://github.com/jupyter/notebook/blob/master/docs/source/changelog.rst"
},
{
"type": "REPORT",
"url": "https://groups.google.com/forum/#!topic/jupyter/hWzu2BSsplY"
},
{
"type": "REPORT",
"url": "https://pypi.org/project/notebook/#history"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-5585-1"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2018-19351"
}
],
"related": [
"USN-5585-1"
],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2018-19351"
]
}
Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline
Sightings and recorded dates, grouped by day · UTC
Loading timeline…
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.