cbcvebase.
CVE-2020-26237
published 2020-11-24

CVE-2020-26237: 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…

PriorityP341high8.7CVSS 3.1
AVNACLPRLUIRSCCNIHAH
EPSS
1.31%
67.3th percentile
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.

Affected

13 ranges
VendorProductVersion rangeFixed in
debiandebian_linux
debianhighlight.js< highlight.js 9.18.1+dfsg1-3 (bookworm)highlight.js 9.18.1+dfsg1-3 (bookworm)
highlightjshighlight.js< 9.18.29.18.2
highlightjshighlight.js
highlightjshighlight.js>= 0 < 9.18.1+dfsg1-39.18.1+dfsg1-3
highlightjshighlight.js>= 0 < 9.18.1+dfsg1-39.18.1+dfsg1-3
highlightjshighlight.js>= 0 < 9.18.1+dfsg1-39.18.1+dfsg1-3
highlightjshighlight.js>= 0 < 9.18.1+dfsg1-39.18.1+dfsg1-3
highlightjshighlight.js>= 0 < 9.18.29.18.2
highlightjshighlight.js>= 10.0.0 < 10.1.210.1.2
highlightjshighlight.js>= 10.1.0 < 10.1.210.1.2
oraclemysql_enterprise_monitor<= 8.0.30
ubuntuhighlight.js

CVSS provenance

nvdv3.18.7HIGHCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:H
nvdv2.04.9MEDIUMAV:N/AC:M/Au:S/C:N/I:P/A:P
osv8.7HIGH
vendor_oracle6.8MEDIUM
vendor_debian5.8MEDIUM
vendor_redhat5.8MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.