{"id":"USN-8276-1","summary":"Highlight.js vulnerability","details":"It was discovered that Highlight.js used plain JavaScript objects for\ninternal language name lookups, making them susceptible to prototype\npollution attacks. An attacker could use this to cause a denial of\nservice or unexpected application behaviour.","modified":"2026-05-20T16:17:52.419457293Z","published":"2026-05-19T18:38:57Z","upstream":["CVE-2020-26237","UBUNTU-CVE-2020-26237"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-8276-1"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2020-26237"}],"affected":[{"package":{"name":"highlight.js","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/highlight.js?arch=source&distro=esm-infra-legacy%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.2+ds-4ubuntu0.1~esm1"}]}],"versions":["8.2+ds-4build1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro","binaries":[{"binary_name":"libjs-highlight","binary_version":"8.2+ds-4ubuntu0.1~esm1"},{"binary_version":"8.2+ds-4ubuntu0.1~esm1","binary_name":"libjs-highlight.js"},{"binary_name":"node-highlight","binary_version":"8.2+ds-4ubuntu0.1~esm1"},{"binary_name":"node-highlight.js","binary_version":"8.2+ds-4ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8276-1.json","cves_map":{"ecosystem":"Ubuntu:Pro:16.04:LTS","cves":[]}}},{"package":{"name":"highlight.js","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/highlight.js?arch=source&distro=esm-apps%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.12.0+dfsg1-4ubuntu0.1~esm1"}]}],"versions":["9.12.0+dfsg1-3","9.12.0+dfsg1-4"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_name":"libjs-highlight","binary_version":"9.12.0+dfsg1-4ubuntu0.1~esm1"},{"binary_version":"9.12.0+dfsg1-4ubuntu0.1~esm1","binary_name":"libjs-highlight.js"},{"binary_name":"node-highlight","binary_version":"9.12.0+dfsg1-4ubuntu0.1~esm1"},{"binary_version":"9.12.0+dfsg1-4ubuntu0.1~esm1","binary_name":"node-highlight.js"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8276-1.json","cves_map":{"ecosystem":"Ubuntu:Pro:18.04:LTS","cves":[{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:H/A:N"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:H"},{"type":"Ubuntu","score":"medium"}],"id":"CVE-2020-26237"}]}}},{"package":{"name":"highlight.js","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/highlight.js?arch=source&distro=esm-apps%2Ffocal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.12.0+dfsg1-5ubuntu0.1~esm1"}]}],"versions":["9.12.0+dfsg1-4ubuntu1","9.12.0+dfsg1-5"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_version":"9.12.0+dfsg1-5ubuntu0.1~esm1","binary_name":"libjs-highlight"},{"binary_name":"libjs-highlight.js","binary_version":"9.12.0+dfsg1-5ubuntu0.1~esm1"},{"binary_name":"node-highlight","binary_version":"9.12.0+dfsg1-5ubuntu0.1~esm1"},{"binary_version":"9.12.0+dfsg1-5ubuntu0.1~esm1","binary_name":"node-highlight.js"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8276-1.json","cves_map":{"ecosystem":"Ubuntu:Pro:20.04:LTS","cves":[{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:H/A:N"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:H"},{"type":"Ubuntu","score":"medium"}],"id":"CVE-2020-26237"}]}}}],"schema_version":"1.7.5"}