8.7
CWE
471 20
Advisory Published
CVE Published
Updated

CVE-2020-26237: Prototype Pollution in highlight.js

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 SoftwareAffected VersionHow 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

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • What is the severity of CVE-2020-26237?

    CVE-2020-26237 is classified as a moderate severity vulnerability due to its potential for prototype pollution.

  • How do I fix CVE-2020-26237?

    To mitigate CVE-2020-26237, update to highlight.js version 9.18.2 or 10.1.2.

  • What software is affected by CVE-2020-26237?

    CVE-2020-26237 affects highlight.js versions prior to 9.18.2 and versions between 10.1.0 and 10.1.2.

  • What type of vulnerability is CVE-2020-26237?

    CVE-2020-26237 is a prototype pollution vulnerability that can be exploited through crafted HTML code.

  • Can CVE-2020-26237 impact my applications?

    Yes, if your application directly uses vulnerable versions of highlight.js, it may be susceptible to attacks leveraging this vulnerability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203