All CVEs / Link-preview-js Project
CVE-2022-25876Link-preview-js Project Link-preview-js
Medium 5.5
Follow: this CVE · Link-preview-js Project · Link-preview-js Project Link-preview-js We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Link-preview-js.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| link-preview-js_project | link-preview-js | < 2.1.16 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Issue Tracking Third Party Advisory
- github.com Patch Third Party Advisory
- snyk.io Exploit Third Party Advisory