SCA: security update for markdown-it-highlightjs (GHSA-f246-xrrj-g8j6)

medium Tenable Self-Hosted Container Security Plugin ID 414190

Description

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

- This affects the package markdown-it-highlightjs before 3.3.1. It is possible insert malicious JavaScript
as a value of lang in the markdown-it-highlightjs Inline code highlighting feature. const
markdownItHighlightjs = require("markdown-it-highlightjs"); const md = require('markdown-it'); const
reuslt_xss = md() .use(markdownItHighlightjs, { inline: true }) .render('console.log(42){.">js}');
console.log(reuslt_xss); (CVE-2020-7773)

See Also

https://github.com/advisories/GHSA-f246-xrrj-g8j6

Plugin Details

Severity: Medium

ID: 414190

Version: Revision 1.4

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

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

Risk Information

VPR

Risk Factor: Low

Score: 2.3

Percentile: 8.67

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.4

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

CVSS Score Source: CVE-2020-7773

CVSS v3

Risk Factor: Medium

Base Score: 6.1

Temporal Score: 5.5

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

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

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 2/10/2022

Vulnerability Publication Date: 11/16/2020

Reference Information

CVE: CVE-2020-7773

cwe: CWE-79