Moderate severityNVD Advisory· Published Nov 18, 2018· Updated Aug 5, 2024
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
1Patches
Vulnerability mechanics
References
9- github.com/advisories/GHSA-49qr-xh3w-h436ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2018-19351ghsaADVISORY
- github.com/jupyter/notebook/blob/master/docs/source/changelog.rstghsax_refsource_MISCWEB
- github.com/jupyter/notebook/commit/107a89fce5f413fb5728c1c5d2c7788e1fb17491ghsax_refsource_MISCWEB
- github.com/pypa/advisory-database/tree/main/vulns/notebook/PYSEC-2018-17.yamlghsaWEB
- groups.google.com/forum/ghsaWEB
- groups.google.com/forum/mitrex_refsource_MISC
- lists.debian.org/debian-lts-announce/2020/11/msg00033.htmlghsamailing-listx_refsource_MLISTWEB
- pypi.org/project/notebook/ghsax_refsource_MISCWEB
News mentions
0No linked articles in our index yet.