SCA: security update for highlight.js (GHSA-vfrc-7r7c-w9mx)

high Tenable Cloud Security Plugin ID 419305

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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.
(CVE-2020-26237)

See Also

https://github.com/advisories/GHSA-vfrc-7r7c-w9mx

Plugin Details

Severity: High

ID: 419305

Version: Revision 1.3

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 1/28/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 4.8

Percentile: 56.9

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 4.9

Temporal Score: 3.6

Vector: CVSS2#AV:N/AC:M/Au:S/C:N/I:P/A:P

CVSS Score Source: CVE-2020-26237

CVSS v3

Risk Factor: High

Base Score: 8.7

Temporal Score: 7.6

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 11/24/2020

Vulnerability Publication Date: 11/24/2020

Reference Information

CVE: CVE-2020-26237

cwe: CWE-471