Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2020-26237

5.8 · MEDIUM
Published Nov 24, 2020 highlightjs CWE-471 EPSS 1.32% (69th pctl)

Overview

CVE-2020-26237 is a medium-severity vulnerability affecting highlightjs highlight.js. It was published on November 24, 2020 and has a CVSS 3.1 base score of 5.8 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.8, rated MEDIUM. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

Technical 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.

Remediation

Check the references section for vendor advisories and patches from highlightjs. Update highlight.js to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
highlightjs highlight.js >= 0, < 9.18.2 Affected
oracle mysql_enterprise_monitor 0 Affected

Frequently Asked Questions

What is CVE-2020-26237?

CVE-2020-26237 is a medium-severity vulnerability affecting highlightjs highlight.js. It was published on November 24, 2020 and has a CVSS 3.1 base score of 5.8 (MEDIUM).

How severe is CVE-2020-26237?

This vulnerability has a CVSS 3.1 base score of 5.8, rated MEDIUM. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2020-26237?

Check the references section for vendor advisories and patches from highlightjs. Update highlight.js to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2020-26237?

CyberStrike's AI-powered security agents can automatically detect CVE-2020-26237 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.