{"schemaVersion":3,"id":"CVE-2020-26237","aliases":["UBUNTU-CVE-2020-26237","DEBIAN-CVE-2020-26237","DLA-2511-1","GHSA-vfrc-7r7c-w9mx"],"status":"published","duplicateOf":null,"title":null,"description":"Highlight.js is a syntax highlighter written in JavaScript. Highlight.js versions before 9.18.2 and 10.1.2 are vulnerable to Prototype Pollution. A malicious HTML code block can be crafted that will result in prototype pollution of the base object's prototype during highlighting. If you allow users to insert custom HTML code blocks into your page/app via parsing Markdown code blocks (or similar) and do not filter the language names the user can provide you may be vulnerable. The pollution should just be harmless data but this can cause problems for applications not expecting these properties to exist and can result in strange behavior or application crashes, i.e. a potential DOS vector. If your website or application does not render user provided data it should be unaffected. Versions 9.18.2 and 10.1.2 and newer include fixes for this vulnerability. If you are using version 7 or 8 you are encouraged to upgrade to a newer release.","dates":{"published":"2020-11-24T23:00:21.000Z","modified":"2024-08-04T15:56:03.046Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.7,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":5.8,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:H/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":8.7,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:H","exploitability":5.9,"impact":9.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":8.7,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:H","exploitability":5.9,"impact":9.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Npm","score":5.8,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:H/A:N","exploitability":3.3,"impact":6.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.7,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":4.9,"severity":"medium","vector":"AV:N/AC:M/Au:S/C:N/I:P/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.01329,"percentile":0.70765,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":0.005999999999999929,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.01323},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01323,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01323,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01323,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01323,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01323,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01323,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01323,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01323,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01323,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01323,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01323,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01323,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01323,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01323,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01323,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01323,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01323,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01323,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01323,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01323,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01323,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01323,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01323,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01323,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01323,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01323,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01323,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01323,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01323,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01323,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01323,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01329,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01329,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01329,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01329,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01329,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01329,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.01329,"percentile":0.70765}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.01323,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01323,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01323,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01323,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01323,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01323,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01323,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01323,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01323,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01323,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01323,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01323,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01323,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01323,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01323,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01323,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01323,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01323,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01323,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01323,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01323,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01323,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01323,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01323,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01329,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01329,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01329,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01329,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01329,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01329,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.01329,"percentile":0.70765}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-471","name":"Modification of Assumed-Immutable Data (MAID)","description":"The product does not properly protect an assumed-immutable element from being modified by an attacker.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/471.html"}],"affected":[{"vendor":"debian","product":"highlight.js","name":"highlight.js","label":"highlight.js","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/highlight.js","purlType":"deb","versions":[{"text":"< 9.18.1+dfsg1-3","noFixRecorded":false,"fixedIn":null},{"text":"< 8.2+ds-5+deb9u1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 9.18.1+dfsg1-3 | < 8.2+ds-5+deb9u1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"highlight.js","name":"highlight.js","label":"highlight.js","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/highlight.js","purlType":"deb","versions":[{"text":"< 8.2+ds-4ubuntu0.1~esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 9.12.0+dfsg1-4ubuntu0.1~esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 9.12.0+dfsg1-5ubuntu0.1~esm1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 8.2+ds-4ubuntu0.1~esm1 | < 9.12.0+dfsg1-4ubuntu0.1~esm1 | < 9.12.0+dfsg1-5ubuntu0.1~esm1","eol":null,"hubHref":null},{"vendor":"debian","product":"debian_linux","name":"debian linux","label":"debian_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"9.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"9.0","eol":{"isEol":true,"eolDate":"2022-07-01T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"9","label":"9 (Stretch)","eolFrom":"2022-07-01T00:00:00.000Z","isLts":false,"isMaintained":true,"latestVersion":"9.13"},"product":{"name":"debian","label":"Debian","category":"os"}},"hubHref":"/vendor/debian/debian_linux"},{"vendor":"highlightjs","product":"highlight.js","name":"highlight.js","label":"highlight.js","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 10.0.0, < 10.1.2","noFixRecorded":false,"fixedIn":null},{"text":"< 9.18.2","noFixRecorded":false,"fixedIn":null},{"text":"≥ 10.1.0, < 10.1.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 10.0.0, < 10.1.2 | < 9.18.2 | ≥ 10.1.0, < 10.1.2","eol":null,"hubHref":"/vendor/highlightjs/highlightjs"},{"vendor":"Npm","product":"highlight.js","name":"highlight.js","label":"highlight.js","ecosystem":"Npm","cpePart":null,"purl":"pkg:npm/highlight.js","purlType":"npm","versions":[{"text":"< 9.18.2","noFixRecorded":false,"fixedIn":null},{"text":"≥ 10.0.0, < 10.1.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 9.18.2 | ≥ 10.0.0, < 10.1.2","eol":null,"hubHref":null},{"vendor":"oracle","product":"mysql_enterprise_monitor","name":"mysql enterprise monitor","label":"mysql_enterprise_monitor","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 8.0.30","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 8.0.30","eol":null,"hubHref":"/vendor/oracle/mysql_enterprise_monitor"}],"affectedCount":6,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://github.com/highlightjs/highlight.js/security/advisories/GHSA-vfrc-7r7c-w9mx","label":"github.com/highlightjs/highlight.js/security/advisories/GHSA-vfrc-7r7c-w9mx","hostname":"github.com","tags":["X Refsource CONFIRM","REPORT","WEB","Mitigation","Third Party Advisory"]},{"url":"https://github.com/highlightjs/highlight.js/pull/2636","label":"github.com/highlightjs/highlight.js/pull/2636","hostname":"github.com","tags":["X Refsource MISC","REPORT","WEB","Patch","Third Party Advisory"]},{"url":"https://www.npmjs.com/package/highlight.js","label":"www.npmjs.com/package/highlight.js","hostname":"www.npmjs.com","tags":["X Refsource MISC","REPORT","WEB","Third Party Advisory"]},{"url":"https://github.com/highlightjs/highlight.js/commit/7241013ae011a585983e176ddc0489a7a52f6bb0","label":"github.com/highlightjs/highlight.js/commit/7241013ae011a585983e176ddc0489a7a52f6bb0","hostname":"github.com","tags":["X Refsource MISC","REPORT","WEB","Patch","Third Party Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2020/12/msg00041.html","label":"lists.debian.org/debian-lts-announce/2020/12/msg00041.html","hostname":"lists.debian.org","tags":["Mailing List","X Refsource MLIST","WEB","Third Party Advisory"]},{"url":"https://www.oracle.com/security-alerts/cpujul2022.html","label":"www.oracle.com/security-alerts/cpujul2022.html","hostname":"www.oracle.com","tags":["X Refsource MISC","WEB","Third Party Advisory"]},{"url":"https://ubuntu.com/security/CVE-2020-26237","label":"ubuntu.com/security/CVE-2020-26237","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-26237","label":"www.cve.org/CVERecord?id=CVE-2020-26237","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2020-26237","label":"security-tracker.debian.org/tracker/CVE-2020-26237","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-26237","label":"nvd.nist.gov/vuln/detail/CVE-2020-26237","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/highlightjs/highlight.js","label":"github.com/highlightjs/highlight.js","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2020-11-24T23:00:21.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-04T15:56:03.046Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":35,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T14:59:23.479Z","stale":false,"partial":false}}