{
  "id": "CVE-2026-61704",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-61704",
  "published_at": "2026-08-20T16:21:10.45Z",
  "title": "link-preview-js DNS Rebinding SSRF Bypass / Incomplete Fix for CVE-2026-43897",
  "vendor": "OP-Engineering",
  "product": "link-preview-js",
  "cvss": {
    "score": 7.5,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "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.",
  "cwe": "CWE-918",
  "cvss_by_source": {
    "cna": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "OP-Engineering",
        "product": "link-preview-js",
        "ranges": [
          "\u003c 4.0.4"
        ],
        "fixed_in": [
          "4.0.4"
        ]
      }
    ],
    "upgrade": [
      "Upgrade link-preview-js to 4.0.4 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/OP-Engineering/link-preview-js/security/advisories/GHSA-cpjf-6666-r8fx"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/OP-Engineering/link-preview-js/pull/181"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/OP-Engineering/link-preview-js/commit/6ee25043dd60b097eb70b4ce049aac94b28239e3"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/OP-Engineering/link-preview-js/commit/f3a3dd84adbb9d32d06a933f44ff3eaa837f9a12"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/OP-Engineering/link-preview-js/releases/tag/4.0.4"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
