link-preview-js@2.1.12 vulnerabilities

Javascript module to extract and fetch HTTP link information from blocks of text.

Direct Vulnerabilities

Known vulnerabilities in the link-preview-js package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • M
Server-side Request Forgery (SSRF)

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 link-preview-js to version 2.1.16 or higher.

<2.1.16