CVE-2020-26237

CVSS V2 Medium 4.9 CVSS V3 High 8.7
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.
Overview
  • CVE ID
  • CVE-2020-26237
  • Assigner
  • security-advisories@github.com
  • Vulnerability Status
  • Analyzed
  • Published Version
  • 2020-11-24T23:15:11
  • Last Modified Date
  • 2022-10-19T13:49:21
CPE Configuration (Product)
CPE Vulnerable Operator Version Start Version End
cpe:2.3:a:highlightjs:highlight.js:*:*:*:*:*:node.js:*:* 1 OR 9.18.2
cpe:2.3:a:highlightjs:highlight.js:*:*:*:*:*:node.js:*:* 1 OR 10.1.0 10.1.2
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:oracle:mysql_enterprise_monitor:*:*:*:*:*:*:*:* 1 OR 8.0.30
CVSS Version 2
  • Version
  • 2.0
  • Vector String
  • AV:N/AC:M/Au:S/C:N/I:P/A:P
  • Access Vector
  • NETWORK
  • Access Compatibility
  • MEDIUM
  • Authentication
  • SINGLE
  • Confidentiality Impact
  • NONE
  • Integrity Impact
  • PARTIAL
  • Availability Impact
  • PARTIAL
  • Base Score
  • 4.9
  • Severity
  • MEDIUM
  • Exploitability Score
  • 6.8
  • Impact Score
  • 4.9
CVSS Version 3
  • Version
  • 3.1
  • Vector String
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:H
  • Attack Vector
  • NETWORK
  • Attack Compatibility
  • LOW
  • Privileges Required
  • LOW
  • User Interaction
  • REQUIRED
  • Scope
  • CHANGED
  • Confidentiality Impact
  • NONE
  • Availability Impact
  • HIGH
  • Base Score
  • 8.7
  • Base Severity
  • HIGH
  • Exploitability Score
  • 2.3
  • Impact Score
  • 5.8
History
Created Old Value New Value Data Type Notes
2022-05-10 07:29:03 Added to TrackCVE
2022-12-05 17:18:46 2020-11-24T23:15Z 2020-11-24T23:15:11 CVE Published Date updated
2022-12-05 17:18:46 2022-10-19T13:49:21 CVE Modified Date updated
2022-12-05 17:18:46 Analyzed Vulnerability Status updated
2022-12-05 17:18:50 References updated