{"id":"CVE-2018-21030","published":"2019-10-31T14:52:45Z","modified":"2024-08-05T12:19:27Z","title":"Jupyter Notebook before 5.5.0 does not use a CSP header to treat served files as belonging to a separate origin","vendor":null,"product":null,"tier":"tail","description":{"text":"Jupyter Notebook before 5.5.0 does not use a CSP header to treat served files as belonging to a separate origin. Thus, for example, an XSS payload can be placed in an SVG document.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01443,"percentile":0.73893,"provenance":"source"},"cwes":[],"references":[{"url":"https://github.com/jupyter/notebook/pull/3341","tags":["x_refsource_MISC"]},{"url":"https://github.com/jupyter/notebook/releases/tag/5.5.0","tags":["x_refsource_MISC"]},{"url":"https://lists.debian.org/debian-lts-announce/2020/11/msg00033.html","tags":["mailing-list","x_refsource_MLIST"]}],"priority":{"score":14.8,"factors":[{"name":"EPSS percentile","points":14.78}]},"affected":[{"ecosystem":"PyPI","package":"notebook","vulnerableRanges":["<5.5.0rc1","<5.5.0"],"patched":["5.5.0rc1","5.5.0"],"from":["GHSA-jqwc-jm56-wcwj","PYSEC-2019-157"],"provenance":"source"}],"summary":{"text":"The flaw is in Jupyter Notebook versions before 5.5.0, where the server does not send a Content Security Policy header to isolate served files as a separate origin. An attacker can place an XSS payload inside a file such as an SVG document, which the browser may execute in the notebook's origin.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:46:41Z"},"euvd":{"id":"EUVD-2019-0093","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-jupyter-notebook-cve-2018-21030","children":[{"from":"CVE-2018-21030","to":"CVE-2020-26215","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["notebook/base/handlers.py"],"commits":["https://github.com/jupyter/notebook/commit/e321c80776542b8d6f3411af16f9e21e51e27687","https://github.com/jupyter/notebook/commit/3cec4bbe21756de9f0c4bccf18cf61d840314d74"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2015-6938","published":"2015-09-21","fixed":"4.0.5","kev":false},{"cve":"CVE-2015-7337","published":"2015-09-29","fixed":"4.0.5","kev":false},{"cve":"CVE-2018-8768","published":"2018-03-18","fixed":"5.4.1","kev":false,"link":{"from":"CVE-2018-8768","to":"CVE-2018-21030","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:notebook","fromFixed":"5.4.1","toFixed":"5.5.0rc1","daysApart":592}]}},{"cve":"CVE-2018-21030","published":"2019-10-31","fixed":"5.5.0","kev":false},{"cve":"CVE-2018-19351","published":"2018-11-18","fixed":"5.7.1","kev":false},{"cve":"CVE-2018-19352","published":"2018-11-18","fixed":"5.7.2","kev":false},{"cve":"CVE-2019-9644","published":"2019-03-12","fixed":"5.7.6","kev":false}],"package":"PyPI:notebook"}}