{"apiVersion":"1.0","identifier":"CVE-2026-61704","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.","publishedAt":"2026-08-20T17:18:51","lastModifiedAt":"2026-08-25T15:16:35","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-61704","cvssScore":7.5,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","epssProbability":0.00403,"riskScore":0.78,"affectedProduct":"Link Preview JS","affectedVersions":"<4.0.4","vulnerabilityType":"Library","operatingSystems":[],"links":{"self":"https://www.redsauce.net/api/cves/CVE-2026-61704","webPages":{"es":"https://www.redsauce.net/es/cves/CVE-2026-61704","en":"https://www.redsauce.net/en/cves/CVE-2026-61704","fr":"https://www.redsauce.net/fr/cves/CVE-2026-61704","pt":"https://www.redsauce.net/pt/cves/CVE-2026-61704","de":"https://www.redsauce.net/de/cves/CVE-2026-61704","sk":"https://www.redsauce.net/sk/cves/CVE-2026-61704","el":"https://www.redsauce.net/el/cves/CVE-2026-61704"},"source":"https://nvd.nist.gov/vuln/detail/CVE-2026-61704"}}