{"id":"CVE-2018-19352","aliases":["DEBIAN-CVE-2018-19352","EUVD-2018-0105","GHSA-3p4q-x8f3-p7vq","PYSEC-2018-18"],"status":"published","title":"Jupyter Notebook XSS via directory name","description":"Jupyter Notebook before 5.7.2 allows XSS via a crafted directory name because notebook/static/tree/js/notebooklist.js handles certain URLs unsafely.","severity":{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.01335,"percentile":0.71391,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2018-11-18T17:00:00Z","modified":"2026-10-24T10:49:38Z","fixes":[{"ecosystem":"PyPI","package":"notebook","fixed_in":["5.7.2"],"sources":["ghsa","osv"]},{"ecosystem":"Debian:12","package":"jupyter-notebook","fixed_in":["5.7.4-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"jupyter-notebook","fixed_in":["5.7.4-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"jupyter-notebook","fixed_in":["5.7.4-1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"PyPI","package":"notebook","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.7.2"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"jupyter-notebook","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.7.4-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"jupyter-notebook","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.7.4-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"jupyter-notebook","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.7.4-1"}]}]},{"source":"osv","ecosystem":"PyPI","package":"notebook","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.7.2"}]}],"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.0","5.5.0rc1","5.6.0","5.6.0rc1","5.7.0","5.7.1"]},{"source":"osv","ecosystem":"PyPI","package":"notebook","ranges":[{"type":"GIT","events":[{"introduced":"0"},{"fixed":"288b73e1edbf527740e273fcc69b889460871648"}]},{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.7.2"}]}],"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.0","5.5.0rc1","5.6.0","5.6.0rc1","5.7.0","5.7.1"]}],"products":[{"vendor":"jupyter","product":"notebook"}],"references":[{"url":"https://github.com/jupyter/notebook/commit/288b73e1edbf527740e273fcc69b889460871648","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://pypi.org/project/notebook/#history","tags":["x_refsource_MISC","x_transferred","Release Notes","advisory","web","package"]},{"url":"https://github.com/jupyter/notebook/blob/master/docs/source/changelog.rst","tags":["x_refsource_MISC","x_transferred","Release Notes","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-19352","tags":["advisory"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/notebook/PYSEC-2018-18.yaml","tags":["web"]},{"url":"https://github.com/advisories/GHSA-3p4q-x8f3-p7vq","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2018-19352","tags":["advisory"]},{"url":"https://github.com/jupyter/notebook","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2018-19352","description":"Jupyter Notebook before 5.7.2 allows XSS via a crafted directory name because notebook/static/tree/js/notebooklist.js handles certain URLs unsafely.","status":"published","published":"2018-11-18T17:00:00Z","modified":"2024-08-05T11:37:10.836Z","updated_at":"2026-11-02T14:35:02.966615Z"}],"euvd":[{"id":"EUVD-2018-0105","description":"Jupyter Notebook before 5.7.2 allows XSS via a crafted directory name because notebook/static/tree/js/notebooklist.js handles certain URLs unsafely.","status":"published","published":"2018-11-18T17:00:00Z","modified":"2024-08-05T11:37:10Z","updated_at":"2026-11-03T02:39:33.782065Z"}],"ghsa":[{"id":"GHSA-3p4q-x8f3-p7vq","title":"Jupyter Notebook XSS via directory name","description":"Jupyter Notebook before 5.7.2 allows XSS via a crafted directory name because notebook/static/tree/js/notebooklist.js handles certain URLs unsafely.","status":"published","published":"2018-11-21T22:19:22Z","modified":"2024-09-27T19:45:30Z","cvss":[{"version":"4.0","score":5.1,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N","level":"medium"},{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:38:06.988799Z"}],"nvd":[{"id":"CVE-2018-19352","description":"Jupyter Notebook before 5.7.2 allows XSS via a crafted directory name because notebook/static/tree/js/notebooklist.js handles certain URLs unsafely.","status":"published","published":"2018-11-18T17:29:00.36Z","modified":"2026-06-17T01:49:11.157Z","cvss":[{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:04:48.987926Z"}],"osv":[{"id":"CVE-2018-19352","description":"Jupyter Notebook before 5.7.2 allows XSS via a crafted directory name because notebook/static/tree/js/notebooklist.js handles certain URLs unsafely.","status":"published","published":"2018-11-18T17:29:00.36Z","modified":"2026-10-24T10:49:38.675967026Z","cvss":[{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:08.834469Z"},{"id":"DEBIAN-CVE-2018-19352","description":"Jupyter Notebook before 5.7.2 allows XSS via a crafted directory name because notebook/static/tree/js/notebooklist.js handles certain URLs unsafely.","status":"published","published":"2018-11-18T17:29:00.36Z","modified":"2026-10-23T18:03:20.375478769Z","cvss":[{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:45:30.57382Z"},{"id":"GHSA-3p4q-x8f3-p7vq","title":"Jupyter Notebook XSS via directory name","description":"Jupyter Notebook before 5.7.2 allows XSS via a crafted directory name because notebook/static/tree/js/notebooklist.js handles certain URLs unsafely.","status":"published","published":"2018-11-21T22:19:22Z","modified":"2024-09-27T20:01:01.276812Z","cvss":[{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"},{"version":"4.0","score":5.1,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:35.747385Z"},{"id":"PYSEC-2018-18","description":"Jupyter Notebook before 5.7.2 allows XSS via a crafted directory name because notebook/static/tree/js/notebooklist.js handles certain URLs unsafely.","status":"published","published":"2018-11-18T17:29:00Z","modified":"2023-11-08T04:00:07.695509Z","updated_at":"2026-11-02T15:52:51.645172Z"}]}}
