{"id":"CVE-2018-21030","aliases":["GHSA-jqwc-jm56-wcwj","PYSEC-2019-157"],"kind":"cve","tier":"cold","status":"published","title":"Cross-site scripting in Jupyter Notebook","description":"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.","ai_summary":null,"severity":"medium","cvss":{"score":5.3,"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","source":"NVD"},"scores":[{"score":5.3,"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","source":"nvd"},{"score":5,"version":"2.0","vector":"AV:N/AC:L/Au:N/C:N/I:P/A:N","source":"nvd"}],"cwe":["CWE-79","CWE-863"],"remote":true,"remote_unauth":true,"epss":{"score":0.01443,"percentile":0.74123,"date":"2026-12-03"},"kev":{"listed":false,"added":null,"due":null,"ransomware":null},"exploit":{"public":false,"exploitdb_ids":[]},"affected":[{"ecosystem":"PyPI","name":"notebook","affected":"< 5.5.0rc1","fixed":["5.5.0rc1","5.5.0"],"source":"osv"}],"affected_products":[{"vendor":"n/a","product":"n/a","versions":"","source":"nvd"}],"ai_versions":null,"mitigation":"Upgrade notebook to one of 5.5.0rc1, 5.5.0 (or later in the same release line).","technologies":[],"references":[{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-21030","kind":"vendor"},{"url":"https://github.com/advisories/GHSA-jqwc-jm56-wcwj","kind":"vendor"},{"url":"https://github.com/jupyter/notebook/pull/3341","kind":"patch"},{"url":"https://github.com/jupyter/notebook/commit/e321c80776542b8d6f3411af16f9e21e51e27687","kind":"patch"},{"url":"https://github.com/jupyter/notebook/releases/tag/5.5.0","kind":"other"},{"url":"https://lists.debian.org/debian-lts-announce/2020/11/msg00033.html","kind":"other"},{"url":"https://github.com/jupyter/notebook","kind":"other"},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/notebook/PYSEC-2019-157.yaml","kind":"other"}],"workarounds":null,"vendors":["jupyter"],"products":["notebook"],"cpes":["cpe:2.3:a:jupyter:notebook:*:*:*:*:*:*:*:*"],"published_at":"2019-10-31T14:52:45.000Z","modified_at":"2026-06-17T01:53:59.550Z","promoted_at":null,"attribution":[{"source":"CVE Program","text":"CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation.","url":"https://www.cve.org/Legal/TermsOfUse"},{"source":"NVD","text":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-21030"},{"source":"OSV","text":"CC-BY 4.0","url":"https://osv.dev/vulnerability/GHSA-jqwc-jm56-wcwj","license_url":"https://creativecommons.org/licenses/by/4.0/"},{"source":"OSV","text":"CC-BY 4.0","url":"https://osv.dev/vulnerability/PYSEC-2019-157","license_url":"https://creativecommons.org/licenses/by/4.0/"}],"links":{"html":"https://flawdb.com/CVE-2018-21030","markdown":"https://flawdb.com/CVE-2018-21030.md","json":"https://flawdb.com/api/v1/entries/CVE-2018-21030"}}