{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-61704","published":"2026-08-20T17:18:51.940000Z","last_modified":"2026-10-18T20:10:00.110000Z","status":"Deferred","cvss":{"version":"3.1","score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","source":"security-advisories@github.com","primary":false},"auth":false,"cwes":["CWE-918"],"cpes":[],"cpes_truncated":false,"vendors":["op-engineering"],"products":["op-engineering/link-preview-js"],"ssvc":{"exploitation":"none","automatable":"yes","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-cpjf-6666-r8fx","ecosystem":"npm","name":"link-preview-js","purl":"pkg:npm/link-preview-js","ranges":[{"introduced":"0","fixed":"4.0.4"}],"versions":[],"versions_truncated":false}],"severity":"high","priority_score":60,"links":{"html_es":"/es/cve/CVE-2026-61704/","html_en":"/en/cve/CVE-2026-61704/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-61704","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-61704"},"untrusted":{"vendor_name":"OP-Engineering","product_name":"link-preview-js","desc_en":"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":[{"untrusted_vendor":"OP-Engineering","untrusted_product":"link-preview-js","versions":[]}],"references":[{"url":"https://github.com/OP-Engineering/link-preview-js/commit/6ee25043dd60b097eb70b4ce049aac94b28239e3","tags":[]},{"url":"https://github.com/OP-Engineering/link-preview-js/commit/f3a3dd84adbb9d32d06a933f44ff3eaa837f9a12","tags":[]},{"url":"https://github.com/OP-Engineering/link-preview-js/pull/181","tags":[]},{"url":"https://github.com/OP-Engineering/link-preview-js/releases/tag/4.0.4","tags":[]},{"url":"https://github.com/OP-Engineering/link-preview-js/security/advisories/GHSA-cpjf-6666-r8fx","tags":[]}]}}