5.0.0
6 years ago
10 days ago
Known vulnerabilities in the link-preview-js package. This does not include vulnerabilities belonging to this package’s dependencies.
Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.
Fix for free| Vulnerability | Vulnerable Version |
|---|---|
link-preview-js is a Javascript module to extract and fetch HTTP link information from blocks of text. Affected versions of this package are vulnerable to Server-side Request Forgery (SSRF) via improper validation of IPv6 and internal addresses during the DNS resolution process. An attacker can access internal network resources or leak sensitive internal data by supplying specially crafted addresses that resolve to internal IPs or loopback interfaces. How to fix Server-side Request Forgery (SSRF)? Upgrade | <4.0.1 |
link-preview-js is a Javascript module to extract and fetch HTTP link information from blocks of text. Affected versions of this package are vulnerable to Server-side Request Forgery (SSRF) which allows attackers to send arbitrary requests to the local network and read the response. This is due to flawed DNS rebinding protection. How to fix Server-side Request Forgery (SSRF)? Upgrade | <2.1.16 |