Description
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.
Recommendation
Update the link-preview-js package to the latest compatible version. Followings are version details:
- Affected version(s): <= 4.0.0
- Patched version(s): 4.0.1
References
Could your website be exposed too?
SmartScanner can check your website for link-preview-js vulnerable to IPv6 and internal loopback attacks and gives you actionable findings to investigate.
Start a free scanRelated Issues
- link-preview-js DNS Rebinding SSRF Bypass / Incomplete Fix for CVE-2026-43897 - CVE-2026-61704
- Server-Side Request Forgery in link-preview-js - CVE-2022-25876
- fast-uri vulnerable to server-side request forgery via malformed IPv6 normalization - CVE-2026-75975
- Svelte Vulnerable to XSS via DOM Clobbering of Internal Framework State - CVE-2026-42573


