CVE-2026-61704: CWE-918: Server-Side Request Forgery (SSRF) in OP-Engineering link-preview-js
CVE-2026-61704 is a Server-Side Request Forgery (SSRF) vulnerability in OP-Engineering's link-preview-js prior to version 4.0.4. The issue arises because the resolveDNSHost mitigation validates only one resolved IP address but fetches the original hostname, allowing DNS rebinding attacks. This can cause the server to access internal HTTP resources unintentionally. The vulnerability also affects redirect handling due to the same validation-to-fetch mismatch. The issue is fixed in version 4.0.4.
AI Analysis
Technical Summary
The vulnerability in link-preview-js versions before 4.0.4 involves a DNS rebinding condition where the resolveDNSHost mitigation validates a resolved IP address but the actual fetch uses the original hostname. An attacker-controlled DNS server can return a public IP during validation and an internal or loopback IP during the fetch, bypassing SSRF protections. This allows the server-side preview fetch to reach internal HTTP resources, potentially exposing sensitive internal services. Redirect handling is similarly affected. The vulnerability is identified as CWE-918 (SSRF) and has a CVSS 3.1 score of 7.5 (high severity). The issue is resolved in version 4.0.4.
Potential Impact
An attacker can exploit this vulnerability to bypass SSRF protections and cause the server to make HTTP requests to internal or loopback network resources. This can lead to unauthorized access to internal services that are not normally reachable from outside the network. The vulnerability does not impact integrity or availability but has high confidentiality impact due to potential unauthorized data access.
Mitigation Recommendations
Upgrade link-preview-js to version 4.0.4 or later, where this SSRF vulnerability is fixed. Since the vendor advisory confirms the fix in 4.0.4, applying this official update fully mitigates the issue. No other mitigation steps are indicated.
CVE-2026-61704: CWE-918: Server-Side Request Forgery (SSRF) in OP-Engineering link-preview-js
Description
CVE-2026-61704 is a Server-Side Request Forgery (SSRF) vulnerability in OP-Engineering's link-preview-js prior to version 4.0.4. The issue arises because the resolveDNSHost mitigation validates only one resolved IP address but fetches the original hostname, allowing DNS rebinding attacks. This can cause the server to access internal HTTP resources unintentionally. The vulnerability also affects redirect handling due to the same validation-to-fetch mismatch. The issue is fixed in version 4.0.4.
CVSS v3.1
Score 7.5high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in link-preview-js versions before 4.0.4 involves a DNS rebinding condition where the resolveDNSHost mitigation validates a resolved IP address but the actual fetch uses the original hostname. An attacker-controlled DNS server can return a public IP during validation and an internal or loopback IP during the fetch, bypassing SSRF protections. This allows the server-side preview fetch to reach internal HTTP resources, potentially exposing sensitive internal services. Redirect handling is similarly affected. The vulnerability is identified as CWE-918 (SSRF) and has a CVSS 3.1 score of 7.5 (high severity). The issue is resolved in version 4.0.4.
Potential Impact
An attacker can exploit this vulnerability to bypass SSRF protections and cause the server to make HTTP requests to internal or loopback network resources. This can lead to unauthorized access to internal services that are not normally reachable from outside the network. The vulnerability does not impact integrity or availability but has high confidentiality impact due to potential unauthorized data access.
Mitigation Recommendations
Upgrade link-preview-js to version 4.0.4 or later, where this SSRF vulnerability is fixed. Since the vendor advisory confirms the fix in 4.0.4, applying this official update fully mitigates the issue. No other mitigation steps are indicated.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-07-10T18:51:13.919Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a872d78acd9273b49dd4189
Added to database: 08/20/2026, 16:38:16 UTC
Last enriched: 08/20/2026, 16:52:28 UTC
Last updated: 08/21/2026, 00:38:59 UTC
Views: 8
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.