SSRF in Op-Engineering Link-Preview-Js
CVE-2026-61704
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.
Vulnerability class: SSRF (Server-Side Request Forgery)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS: 0.005 (44.1th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 44th percentile — 44.1% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.004 · newest: 0.005 · change: +0.001
Affected products
- Op-Engineering Link-Preview-Js — versions < 4.0.4
Weakness classification (CWE)
References
- github.com/OP-Engineering/link-preview-js/security/advisories/GHSA-cpjf-6666-r8…
- github.com/OP-Engineering/link-preview-js/pull/181
- github.com/OP-Engineering/link-preview-js/commit/6ee25043dd60b097eb70b4ce049aac…
- github.com/OP-Engineering/link-preview-js/commit/f3a3dd84adbb9d32d06a933f44ff3e…
- github.com/OP-Engineering/link-preview-js/releases/tag/4.0.4
Frequently asked questions
- What is CVE-2026-61704?
- CVE-2026-61704 is a high-severity vulnerability in Op-Engineering Link-Preview-Js, classified under Server-Side Request Forgery (SSRF). CVSS score: 7.5/10. Published 2026-08-20.
- How severe is CVE-2026-61704?
- High severity. CVSS v3 base score is 7.5 out of 10.