Back
CVE-2022-25876
Server-side Request Forgery (SSRF)
Medium6.2EPSS 0.37%
- Published
- Updated
- Reserved
- Assigned by
- snyk
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| snykCNA (assigner) | 3.1 | Medium6.2 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N/E:P |
| NVDNVD · Modified | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
- EPSS (exploitation in 30 days)
- 0.37% · top 69% of all CVEs (6 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.2.
Weakness
- Server-side Request Forgery (SSRF)
- CWE-918 (opens in a new tab)All about CWE-918 and its CVEs
Affected products
link-preview-js
- affected unspecified – < 2.1.16
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- npmlink-preview-jsGHSA-h9cw-7g8j-h66h (opens in a new tab)
References (3)
- https://github.com/ospfranco/link-preview-js/issues/115 (opens in a new tab)x_refsource_MISCx_transferred
- https://snyk.io/vuln/SNYK-JS-LINKPREVIEWJS-2933520 (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/ospfranco/link-preview-js/pull/117 (opens in a new tab)x_refsource_MISCx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-h9cw-7g8j-h66h (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2022-25876)Record last updated .