{"id":"PYSEC-2019-157","details":"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.","aliases":["CVE-2018-21030","GHSA-jqwc-jm56-wcwj"],"modified":"2023-11-08T04:00:14.113021Z","published":"2019-10-31T15:15:00Z","references":[{"type":"WEB","url":"https://github.com/jupyter/notebook/releases/tag/5.5.0"},{"type":"WEB","url":"https://github.com/jupyter/notebook/pull/3341"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2020/11/msg00033.html"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-jqwc-jm56-wcwj"}],"affected":[{"package":{"name":"notebook","ecosystem":"PyPI","purl":"pkg:pypi/notebook"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.5.0"}]}],"versions":["0.0.0","4.0.0","4.0.1","4.0.2","4.0.4","4.0.5","4.0.6","4.1.0","4.2.0","4.2.0b1","4.2.1","4.2.2","4.2.3","4.3.0","4.3.1","4.3.2","4.4.0","4.4.1","5.0.0","5.0.0b1","5.0.0b2","5.0.0rc1","5.0.0rc2","5.1.0","5.1.0rc1","5.1.0rc2","5.1.0rc3","5.2.0","5.2.0rc1","5.2.1","5.2.1rc1","5.2.2","5.3.0","5.3.0rc1","5.3.1","5.4.0","5.4.1","5.5.0rc1"],"database_specific":{"source":"https://github.com/pypa/advisory-database/blob/main/vulns/notebook/PYSEC-2019-157.yaml"}}],"schema_version":"1.7.3"}