CVE-2026-61704

link-preview-js DNS Rebinding SSRF Bypass / Incomplete Fix for CVE-2026-43897

Published Aug 20, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Description
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-cpjf-6666-r8fx link-preview-js DNS Rebinding SSRF Bypass / Incomplete Fix for CVE-2026-43897
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Op-engineering
Op-engineering link-preview-js
Vendors & Products Op-engineering
Op-engineering link-preview-js
Type Values Removed Values Added
Description 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.
Title link-preview-js DNS Rebinding SSRF Bypass / Incomplete Fix for CVE-2026-43897
Weaknesses CWE-918
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 25, 2026, 3:03 PM
Reserved
Jul 10, 2026, 6:51 PM
Status
Deferred
Published
Aug 20, 2026, 5:18 PM
Modified
Oct 18, 2026, 8:10 PM