Medium severity6.1NVD Advisory· Published Nov 18, 2018· Updated Jun 17, 2026
CVE-2018-19351
CVE-2018-19351
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
notebookPyPI | < 5.7.1 | 5.7.1 |
Affected products
2Patches
Vulnerability mechanics
References
9- github.com/jupyter/notebook/commit/107a89fce5f413fb5728c1c5d2c7788e1fb17491nvdPatchThird Party AdvisoryWEB
- github.com/advisories/GHSA-49qr-xh3w-h436ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2018-19351ghsaADVISORY
- pypi.org/project/notebook/nvdThird Party AdvisoryWEB
- github.com/jupyter/notebook/blob/master/docs/source/changelog.rstnvdRelease NotesWEB
- github.com/pypa/advisory-database/tree/main/vulns/notebook/PYSEC-2018-17.yamlghsaWEB
- groups.google.com/forum/ghsaWEB
- lists.debian.org/debian-lts-announce/2020/11/msg00033.htmlnvdWEB
- groups.google.com/forum/nvd
News mentions
0No linked articles in our index yet.