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
Related Issues
- Svelte Vulnerable to XSS via DOM Clobbering of Internal Framework State - CVE-2026-42573
- Server-Side Request Forgery in link-preview-js - CVE-2022-25876
- orval MCP client is vulnerable to a code injection attack. - CVE-2026-22785
- path-to-regexp vulnerable to Regular Expression Denial of Service via multiple route parameters - CVE-2026-4867
You might also like:
- Tags:
- npm
- link-preview-js
Anything's wrong? Let us know Last updated on May 13, 2026


