Live threats

All CVEs / Link-preview-js Project

CVE-2022-25876Link-preview-js Project Link-preview-js

Medium 5.5

Priority
33
CVSS 3.1
5.5
EPSS
0.4%
probability of exploitation in 30 days · percentile 22
Auth required
Yes
Published
Jul 1, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-918
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

What happens

The package link-preview-js before 2.1.16 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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Link-preview-js.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm link-preview-js < 2.1.17 2.1.17 npm install link-preview-js@2.1.17

Per OSV / GitHub Advisories (GHSA-h9cw-7g8j-h66h). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
link-preview-js_projectlink-preview-js< 2.1.16

Official sources

References

Links published by the sources. Open them with care.