{"id":"CVE-2026-61704","revision":"9e332b71faf841798958891eb9ccec72","records":[{"revision":"9e332b71faf841798958891eb9ccec72","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-61704","aliases":[],"title":"link-preview-js DNS Rebinding SSRF Bypass / Incomplete Fix for CVE-2026-43897","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.","state":0,"publishedAt":"2026-08-20T16:21:10.45+00:00","modifiedAt":"2026-08-25T15:03:17.04+00:00","affected":[{"ecosystem":"Vendor product","name":"link-preview-js","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"OP-Engineering\",\n                    \"product\": \"link-preview-js\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 4.0.4\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"severity":"HIGH"}],"references":["https://github.com/OP-Engineering/link-preview-js/security/advisories/GHSA-cpjf-6666-r8fx","https://github.com/OP-Engineering/link-preview-js/pull/181","https://github.com/OP-Engineering/link-preview-js/commit/6ee25043dd60b097eb70b4ce049aac94b28239e3","https://github.com/OP-Engineering/link-preview-js/commit/f3a3dd84adbb9d32d06a933f44ff3eaa837f9a12","https://github.com/OP-Engineering/link-preview-js/releases/tag/4.0.4"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-61704","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-61704","identifiers":["CVE-2026-61704"]},"retained":false,"historicalAffected":[]}],"coverage":[]}