{"id":"GHSA-jqwc-jm56-wcwj","summary":"Cross-site scripting in Jupyter Notebook","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","PYSEC-2019-157"],"modified":"2024-10-07T15:01:32.978825Z","published":"2019-11-08T17:07:42Z","database_specific":{"github_reviewed_at":"2019-11-07T23:25:31Z","nvd_published_at":"2019-10-31T15:15:00Z","cwe_ids":["CWE-79"],"severity":"MODERATE","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-21030"},{"type":"WEB","url":"https://github.com/jupyter/notebook/pull/3341"},{"type":"WEB","url":"https://github.com/jupyter/notebook/commit/e321c80776542b8d6f3411af16f9e21e51e27687"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-jqwc-jm56-wcwj"},{"type":"PACKAGE","url":"https://github.com/jupyter/notebook"},{"type":"WEB","url":"https://github.com/jupyter/notebook/releases/tag/5.5.0"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/notebook/PYSEC-2019-157.yaml"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2020/11/msg00033.html"}],"affected":[{"package":{"name":"notebook","ecosystem":"PyPI","purl":"pkg:pypi/notebook"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.5.0rc1"}]}],"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"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/11/GHSA-jqwc-jm56-wcwj/GHSA-jqwc-jm56-wcwj.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N"}]}