CVE-2026-61704

Source
https://cve.org/CVERecord?id=CVE-2026-61704
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-61704.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-61704
Aliases
  • GHSA-cpjf-6666-r8fx
Published
2026-08-20T16:21:10.450Z
Modified
2026-08-22T03:58:08.285426452Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
link-preview-js DNS Rebinding SSRF Bypass / Incomplete Fix for CVE-2026-43897
Details

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.

Database specific
{
    "cwe_ids": [
        "CWE-918"
    ],
    "cna_assigner": "GitHub_M",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/61xxx/CVE-2026-61704.json"
}
References

Affected packages

Git / github.com/op-engineering/link-preview-js

Affected ranges

Type
GIT
Repo
https://github.com/op-engineering/link-preview-js
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Fixed
Database specific
Show details
{
    "source": [
        "AFFECTED_FIELD",
        "REFERENCES"
    ],
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "4.0.4"
        }
    ]
}

Affected versions

1.*
1.3.4
1.4.3
1.5.0
1.6.0
2.*
2.1.1
2.1.2
3.*
3.0.0
3.0.10
3.0.11
3.0.12
3.0.13
3.0.14
3.0.15
3.0.5
3.0.6
3.0.7
3.0.8
3.0.9
3.1.0
3.2.0
4.*
4.0.0
4.0.1
4.0.2
4.0.3
V1.*
V1.2.0
v1.*
v1.0.4
v1.0.7
v1.1.0
v1.1.2
v1.2.1
v1.3.0
v1.3.1
v1.3.5
v1.4.0
v2.*
v2.0.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-61704.json"