GitHub Advisory Database
GHSA-h9cw-7g8j-h66h
Server-Side Request Forgery in link-preview-js
Details
The package link-preview-js before 2.1.17 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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| npm | link-preview-js | All versions before 2.1.17 (fixed in 2.1.17) |