What’s Vulnerable › Vulnerabilities
CVE-2022-25876: Server-side Request Forgery (SSRF)
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2022-07-01 · updated 2026-06-17
- Weakness: CWE-918
Description
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.
Affected products
- link-preview-js: before 2.1.16 — fixed in 2.1.16
How to fix
Upgrade to a fixed version: link-preview-js 2.1.16. Check the vendor advisory for mitigations.
References
- https://github.com/ospfranco/link-preview-js/issues/115
- https://github.com/ospfranco/link-preview-js/pull/117
- https://snyk.io/vuln/SNYK-JS-LINKPREVIEWJS-2933520
- https://github.com/ospfranco/link-preview-js/issues/115
- https://github.com/ospfranco/link-preview-js/pull/117
- https://snyk.io/vuln/SNYK-JS-LINKPREVIEWJS-2933520
Get alerted when CVE-2022-25876 or the next vulnerability affects your stack