{"schema_version":"1.7.3","id":"GHSA-6cwv-x26c-w2q4","published":"2018-07-12T12:00:00Z","modified":"2024-12-07T05:39:53.498610Z","aliases":["CVE-2018-8768","PYSEC-2018-57"],"summary":"Jupyter Notebook file bypasses sanitization, executes JavaScript","details":"In Jupyter Notebook before 5.4.1, a maliciously forged notebook file can bypass sanitization to execute JavaScript in the notebook context. Specifically, invalid HTML is 'fixed' by jQuery after sanitization, making it dangerous.","affected":[{"package":{"name":"notebook","ecosystem":"PyPI","purl":"pkg:pypi/notebook"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.4.1"}]}],"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"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/07/GHSA-6cwv-x26c-w2q4/GHSA-6cwv-x26c-w2q4.json"}}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-8768"},{"type":"PACKAGE","url":"https://github.com/jupyter/notebook"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/notebook/PYSEC-2018-57.yaml"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2020/11/msg00033.html"},{"type":"WEB","url":"http://openwall.com/lists/oss-security/2018/03/15/2"}],"database_specific":{"cwe_ids":[],"github_reviewed":true,"github_reviewed_at":"2020-06-16T21:18:58Z","nvd_published_at":null,"severity":"HIGH"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}]}