Server-side request forgery (SSRF) in link-preview-js
Priority LOW 28CWE-918Published · Updated
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-918 and the CVSS impact.
Summary
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.
Why it matters now
EPSS 0.00368 30th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed link-preview-js: 2.1.16link-preview-js (npm): 2.1.17
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | link-preview-js | before 2.1.16 | 2.1.16 | Patch available | CNA |
| — | link-preview-js (npm) | before 2.1.17 | 2.1.17 | Patch available | GHSA-h9cw-7g8j-h66h |
- link-preview-js Vendor— Affected before 2.1.16 Fixed in 2.1.16 Patch available CNA
- link-preview-js (npm) Vendor— Affected before 2.1.17 Fixed in 2.1.17 Patch available GHSA-h9cw-7g8j-h66h
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:link-preview-js_project:link-preview-js:*:*:*:*:*:node.js:*:* | before 2.1.16 | Vulnerable | Link-preview-js Project |
- cpe:2.3:a:link-preview-js_project:link-preview-js:*:*:*:*:*:node.js:*:* Versions before 2.1.16 Vulnerable ·Link-preview-js Project
Remediation
- Fix · CNA link-preview-js Fixed in 2.1.16
- Fix · GHSA-h9cw-7g8j-h66h link-preview-js (npm) Fixed in 2.1.17 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2022-25876
- 2026-10-03 Alias added: GHSA-h9cw-7g8j-h66h
References
Sources
- CVE-2022-25876 · CVE Program
- CVE-2022-25876 · NVD
- FIRST EPSS
- GHSA-h9cw-7g8j-h66h · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences