{"id":"CVE-2018-19351","url":"https://www.cyber-defence.io/tools/cve/CVE-2018-19351","generatedAt":"2026-10-29T01:54:49.554Z","title":"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.","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.","published":"2018-11-18T17:29:00.000Z","lastModified":"2026-06-17T01:49:11.000Z","status":"Modified","sourceIdentifier":"cve@mitre.org","cvss":{"version":"3.0","score":6.1,"severity":"MEDIUM","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},"cwe":["CWE-79"],"affected":["jupyter/notebook"],"epss":{"score":0.01511,"percentile":0.74323,"date":"2026-10-27","history":[]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"low","text":"Lower severity and a low EPSS score (1.51%). Track it; it rarely justifies an emergency change on its own."},"changes":[],"references":[{"url":"https://github.com/jupyter/notebook/blob/master/docs/source/changelog.rst","tags":["Release Notes"],"source":"cve@mitre.org"},{"url":"https://github.com/jupyter/notebook/commit/107a89fce5f413fb5728c1c5d2c7788e1fb17491","tags":["Patch","Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://groups.google.com/forum/#%21topic/jupyter/hWzu2BSsplY","source":"cve@mitre.org"},{"url":"https://lists.debian.org/debian-lts-announce/2020/11/msg00033.html","source":"cve@mitre.org"},{"url":"https://pypi.org/project/notebook/#history","tags":["Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://github.com/jupyter/notebook/blob/master/docs/source/changelog.rst","tags":["Release Notes"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://github.com/jupyter/notebook/commit/107a89fce5f413fb5728c1c5d2c7788e1fb17491","tags":["Patch","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://groups.google.com/forum/#%21topic/jupyter/hWzu2BSsplY","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://lists.debian.org/debian-lts-announce/2020/11/msg00033.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://pypi.org/project/notebook/#history","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2018-19351","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}