Skip to main content
EPSS 0.5%top 56%

CVE-2026-61704: CWE-918: Server-Side Request Forgery (SSRF) in OP-Engineering link-preview-js

0
High
VulnerabilityCVE-2026-61704cvecve-2026-61704cwe-918
Published: 08/20/2026 (08/20/2026, 16:21:10 UTC)
Source: CVE Database V5
Vendor/Project: OP-Engineering
Product: link-preview-js

Description

CVE-2026-61704 is a Server-Side Request Forgery (SSRF) vulnerability in the OP-Engineering link-preview-js library prior to version 4.0.4. The issue arises from a DNS rebinding attack where the mitigation logic validates a resolved IP address but fetches the original hostname, allowing an attacker-controlled DNS server to bypass SSRF protections. This can lead to unauthorized server-side requests to internal HTTP resources. 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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected software

OP-Engineering

link-preview-js

Affected versions
<4.0.4
link-preview-js
pkg:npm/link-preview-js
Affected versions
<4.0.4

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/10/2026, 23:32:17 UTC

Technical Analysis

The link-preview-js library extracts information from web links. Before version 4.0.4, its resolveDNSHost mitigation validated only one resolved IP address but performed the fetch using the original hostname. This discrepancy allows an attacker controlling a DNS server to return a public IP during validation and a loopback or internal IP during the actual fetch, effectively bypassing SSRF protections. Redirect handling is similarly vulnerable due to this mismatch. The vulnerability is addressed in version 4.0.4.

Potential Impact

An attacker can exploit this SSRF vulnerability to make the server perform unauthorized HTTP requests to internal or loopback network resources, potentially exposing sensitive internal services or data. The CVSS score of 7.5 reflects a high severity with network attack vector, low complexity, no privileges required, and no user interaction needed. Confidentiality impact is high, but integrity and availability impacts are not affected.

Mitigation Recommendations

Upgrade to link-preview-js version 4.0.4 or later, where this SSRF vulnerability is fixed. No other mitigation is required as the official fix addresses the issue.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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

Threat ID: 6a872d78acd9273b49dd4189

Added to database: 08/20/2026, 16:38:16 UTC

Last enriched: 09/10/2026, 23:32:17 UTC

Last updated: 10/05/2026, 06:48:17 UTC

Views: 87

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses