First published: Mon Nov 23 2020(Updated: )
A flaw was found in nodejs-highlight-js. Highlight.js is 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.
Credit: security-advisories@github.com
Affected Software | Affected Version | How to fix |
---|---|---|
redhat/highlight.js | <9.18.2 | 9.18.2 |
redhat/highlight.js | <10.1.2 | 10.1.2 |
Highlight.js | <9.18.2 | |
Highlight.js | >=10.1.0<10.1.2 | |
Debian Linux | =9.0 | |
MySQL Enterprise Monitor | <=8.0.30 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2020-26237 is classified as a moderate severity vulnerability due to its potential for prototype pollution.
To mitigate CVE-2020-26237, update to highlight.js version 9.18.2 or 10.1.2.
CVE-2020-26237 affects highlight.js versions prior to 9.18.2 and versions between 10.1.0 and 10.1.2.
CVE-2020-26237 is a prototype pollution vulnerability that can be exploited through crafted HTML code.
Yes, if your application directly uses vulnerable versions of highlight.js, it may be susceptible to attacks leveraging this vulnerability.