{"id":"UBUNTU-CVE-2018-8768","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.","modified":"2026-02-04T02:25:31.315914Z","published":"2018-03-18T06:29:00Z","related":["USN-4855-1"],"upstream":["CVE-2018-8768"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-8768"},{"type":"REPORT","url":"http://www.openwall.com/lists/oss-security/2018/03/15/2"},{"type":"REPORT","url":"http://openwall.com/lists/oss-security/2018/03/15/2"},{"type":"REPORT","url":"https://github.com/jupyter/notebook/commit/4e79ebb49acac722b37b03f1fe811e67590d3831"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4855-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2018-8768"}],"affected":[{"package":{"name":"ipython","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/ipython@2.4.1-1ubuntu0.1~esm2?arch=source&distro=esm-apps/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.1-1ubuntu0.1~esm2"}]}],"versions":["2.3.0-2ubuntu1","2.3.0-2ubuntu2","2.4.1-1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.4.1-1ubuntu0.1~esm2","binary_name":"ipython"},{"binary_version":"2.4.1-1ubuntu0.1~esm2","binary_name":"ipython-notebook"},{"binary_version":"2.4.1-1ubuntu0.1~esm2","binary_name":"ipython-notebook-common"},{"binary_version":"2.4.1-1ubuntu0.1~esm2","binary_name":"ipython-qtconsole"},{"binary_version":"2.4.1-1ubuntu0.1~esm2","binary_name":"ipython3"},{"binary_version":"2.4.1-1ubuntu0.1~esm2","binary_name":"ipython3-notebook"},{"binary_version":"2.4.1-1ubuntu0.1~esm2","binary_name":"ipython3-qtconsole"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-8768.json"}}],"schema_version":"1.7.3","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":"Ubuntu","score":"medium"}]}