ADVISORIES

GitHub Advisory Database

GHSA-h9cw-7g8j-h66h

Server-Side Request Forgery in link-preview-js

Moderate CVE-2022-25876

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

EcosystemPackageAffected versions
npmlink-preview-js
All versions before 2.1.17 (fixed in 2.1.17)

References