SCA: security update for github.com/yuin/goldmark/renderer/html (GHSA-c97m-vxhj-p7j6)

medium Tenable Cloud Security Plugin ID 440659

Description

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

- Versions of the package github.com/yuin/goldmark/renderer/html before 1.7.17 are vulnerable to Cross-site
Scripting (XSS) due to improper ordering of URL validation and normalization. The renderer validates link
destinations using a prefix-based check (IsDangerousURL) before resolving HTML entities. This allows an
attacker to bypass protocol filtering by encoding dangerous schemes using HTML5 named character
references. For example, a payload such as javascript:alert(1) is not recognized as dangerous during
validation, leading to arbitrary script execution in the context of applications that render the URL.
(CVE-2026-5160)

Solution

Update the github.com/yuin/goldmark/renderer/html library and its related packages to version 1.7.17 or later.

See Also

https://github.com/advisories/GHSA-c97m-vxhj-p7j6

Plugin Details

Severity: Medium

ID: 440659

Version: Revision 1.8

Type: Local

Family: SCA Checks

Published: 4/18/2026

Updated: 7/2/2026

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

Risk Information

VPR

Risk Factor: Low

Score: 2.3

Percentile: 9.42

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 6.4

Temporal Score: 4.7

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

CVSS Score Source: CVE-2026-5160

CVSS v3

Risk Factor: Medium

Base Score: 6.1

Temporal Score: 5.3

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:U/RL:O/RC:C

CVSS v4

Risk Factor: Medium

Base Score: 5.1

Threat Score: 1.2

Threat Vector: CVSS:4.0/E:U

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:L/SI:L/SA:N

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 4/17/2026

Vulnerability Publication Date: 4/15/2026

Reference Information

CVE: CVE-2026-5160

cwe: CWE-79