Security readout for executives and security teams
Plain-English summary
This vulnerability affects highlight.js when sites render user-submitted code blocks and allow uncontrolled language names. A crafted block can pollute JavaScript object prototypes during highlighting, causing unexpected behavior or crashes. Systems that do not render user-provided content are described as unaffected.
Executive priority
Treat as a targeted remediation for user-content rendering surfaces, not a broad emergency. Prioritize public-facing or multi-user applications where untrusted users can submit code blocks.
Technical view
CVE-2020-26237 is CWE-471 prototype pollution in highlight.js before 9.18.2 and in 10.0.0 before 10.1.2. The condition involves malicious HTML code blocks processed through highlighting, commonly via Markdown-like input, when language names are not filtered.
Likely exposure
Exposure is most likely in web applications, documentation portals, forums, CMS features, or internal tools that render user-supplied Markdown or HTML code blocks with affected highlight.js versions.
Exploitation context
The provided sources do not cite active exploitation, and KEV is false. Exploitation requires user-controlled content, a vulnerable highlight.js version, and a rendering path that processes unfiltered language names during highlighting.
Researcher notes
Impact evidence points mainly to unsafe prototype mutation causing application instability or crashes. The advisory notes pollution should be harmless data, but applications relying on clean object prototypes may fail unpredictably.
Mitigation direction
- Upgrade highlight.js to 9.18.2, 10.1.2, or newer.
- If using version 7 or 8, move to a newer supported release.
- Filter or constrain user-provided language names before highlighting.
- Review vendor or distribution advisories for packaged highlight.js updates.
Validation and detection
- Check package manifests and lockfiles for affected highlight.js versions.
- Identify pages that render user-submitted Markdown or HTML code blocks.
- Verify user-controlled language names are filtered or allowlisted.
- Confirm deployed assets use the upgraded highlight.js build.
Public sources used
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
CWE-471: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
Open ATT&CK lookupCVE-2020-26237 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
Open ATT&CK lookup- Severity
- Medium
- CVSS
- 5.8 (3.1)
- Known Exploited
- No
- Published
Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:H/A:N
CNA and ADP enrichment extracted from CVE v5
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
CVSS vector scores
1 official scoreWe collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:H/A:N1.34Primary CVE scoreVulnerability scoring details
Base CVSS 3.1 score
5.8MediumVector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:H/A:N
Source materials
- CVE List V5 sourceCVE List V5
- https://github.com/highlightjs/highlight.js/security/advisories/GHSA-vfrc-7r7c-w9mxCVE reference · x_refsource_CONFIRM
- https://github.com/highlightjs/highlight.js/pull/2636CVE reference · x_refsource_MISC
- https://www.npmjs.com/package/highlight.jsCVE reference · x_refsource_MISC
- https://github.com/highlightjs/highlight.js/commit/7241013ae011a585983e176ddc0489a7a52f6bb0CVE reference · x_refsource_MISC
- [debian-lts-announce] 20201230 [SECURITY] [DLA 2511-1] highlight.js security updateCVE reference · mailing-list, x_refsource_MLIST
- https://www.oracle.com/security-alerts/cpujul2022.htmlCVE reference · x_refsource_MISC
Products and packages named in the record
CWE details
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
