SCA: security update for link-preview-js (GHSA-cpjf-6666-r8fx)

high Tenable Self-Hosted Container Security Plugin ID 447580

Description

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

- Link Preview JS extracts web links information. Prior to 4.0.4, the resolveDNSHost mitigation in index.ts
validates one resolved IP address but fetches the original hostname, allowing an attacker-controlled DNS
server to return a public address during validation and a loopback or internal address during the final
connection. This DNS rebinding condition bypasses the SSRF protection and can cause the server-side
preview fetch to reach internal HTTP resources. Redirect handling is affected by the same validation-to-
fetch mismatch. This issue is fixed in version 4.0.4. (CVE-2026-61704)

Solution

Update the link-preview-js library and its related packages to version 4.0.4 or later.

See Also

https://github.com/advisories/GHSA-cpjf-6666-r8fx

Plugin Details

Severity: High

ID: 447580

Version: Revision 1.1

Type: Local

Family: SCA Checks

Published: 9/3/2026

Updated: 9/3/2026

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.66

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 5.8

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

CVSS Score Source: CVE-2026-61704

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

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

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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 9/2/2026

Vulnerability Publication Date: 8/20/2026

Reference Information

CVE: CVE-2026-61704

cwe: CWE-918