A AegiFlow
HIGHCVSS 7.5EPSS 0.4%

CVE-2026-61704

CVE-2026-61704 updated by NVD

Published
2026-09-02
Modified
2026-10-20
EPSS percentile
34%
Sources
github-advisory, nvd

Summary

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.

Affected packages

EcosystemPackageAffected versionsFixed versions
npmlink-preview-js—4.0.4

Remediation: Upgrade to 4.0.4 or later.

References

Includes data from the GitHub Advisory Database, licensed under CC-BY 4.0.

Includes data from the National Vulnerability Database (NIST). NVD data is in the public domain; this page is not endorsed by NIST.

CVE® is a registered trademark of The MITRE Corporation. CVE content reproduced under the CVE Terms of Use; copyright designation © MITRE.

EPSS scores provided by the FIRST.org Exploit Prediction Scoring System.