{"id":"CVE-2026-43897","published":"2026-05-11T21:14:40Z","modified":"2026-05-12T16:40:05Z","title":"Link Preview JS: vunerable to IPv6 and internal loopback attacks","vendor":"OP-Engineering","product":"link-preview-js","tier":"tail","description":{"text":"Link Preview JS extracts web links information. Prior to 4.0.1, the library did not check for IPv6 loopback attacks. There was also a DNS attack, where an address could be resolved into an internal IP. This could cause internal data leaks. This vulnerability is fixed in 4.0.1.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.7,"severity":"HIGH","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00654,"percentile":0.52281,"provenance":"source"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"}],"references":[{"url":"https://github.com/OP-Engineering/link-preview-js/security/advisories/GHSA-4gp8-rjrq-ch6q","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/OP-Engineering/link-preview-js/pull/179","tags":["x_refsource_MISC"]},{"url":"https://github.com/OP-Engineering/link-preview-js/commit/4396d48909fab37553c0e93e26447fe218363ede","tags":["x_refsource_MISC"]},{"url":"https://github.com/OP-Engineering/link-preview-js/releases/tag/4.0.1","tags":["x_refsource_MISC"]}],"priority":{"score":16.5,"factors":[{"name":"EPSS percentile","points":10.46},{"name":"CVSS severity","points":6.09}]},"vendorSlug":"op-engineering","affectedVersions":[{"vendor":"OP-Engineering","product":"link-preview-js","versions":["< 4.0.1"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-05-12T16:39:50.874250Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"link-preview-js","vulnerableRanges":["<4.0.1"],"patched":["4.0.1"],"from":["GHSA-4gp8-rjrq-ch6q"],"provenance":"source"}],"summary":{"text":"The Link Preview JS library from OP-Engineering contains a flaw in its handling of URLs that let it fetch link information, where it fails to block IPv6 loopback addresses and can be tricked by DNS resolution into reaching internal IP addresses. An attacker with network access and no authentication or user interaction can make the library send requests to internal resources, which can leak internal data (this is a server-side request forgery issue).","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:57:36Z"},"euvd":{"id":"EUVD-2026-29335","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-op-engineering-link-preview-js-cve-2026-43897","children":[{"from":"CVE-2026-43897","to":"CVE-2026-61704","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"npm:link-preview-js","fromFixed":"4.0.1","toFixed":"4.0.4","daysApart":101},{"kind":"same-code","provenance":"machine","files":["index.ts"],"commits":["https://github.com/OP-Engineering/link-preview-js/commit/4396d48909fab37553c0e93e26447fe218363ede","https://github.com/OP-Engineering/link-preview-js/commit/6ee25043dd60b097eb70b4ce049aac94b28239e3","https://github.com/OP-Engineering/link-preview-js/commit/f3a3dd84adbb9d32d06a933f44ff3eaa837f9a12"],"basis":"shared function","functions":["getLinkPreview"]},{"kind":"similar","provenance":"machine","score":0.46,"basis":"same product + CWE + description similarity"}]}],"packageHistory":[{"cve":"CVE-2022-25876","published":"2022-07-01","fixed":"2.1.17","kev":false},{"cve":"CVE-2026-43897","published":"2026-05-11","fixed":"4.0.1","kev":false},{"cve":"CVE-2026-61704","published":"2026-08-20","fixed":"4.0.4","kev":false}],"package":"npm:link-preview-js"}}