CVE-2022-25876
MEDIUM 5.5CVSS 3.1Server-Side Request Forgery in link-preview-js
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.
- Published
- 1 Jul 2022
- Last modified
- 17 Jun 2026
- Assigned by
- report@snyk.io
- NVD status
- Modified
- Weakness
- CWE-918
- Also known as
- GHSA-h9cw-7g8j-h66h
- Sources
- NVDJSONOSV GHSA-h9cw-7g8j-h66hJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | report@snyk.io (Secondary) | CVSS 3.1 | MEDIUM 6.2 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | LOW 2.1 | AV:L/AC:L/Au:N/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | link-preview-js_project | link-preview-jscpe:2.3:a:link-preview-js_project:link-preview-js:*:*:*:*:*:node.js:*:* |
< 2.1.16 | 2.1.16 |
| OSV | npm | link-preview-js | < 2.1.17 | 2.1.17 |
References
- https://github.com/ospfranco/link-preview-js/issues/115 · Exploit, Issue Tracking, Third Party Advisory, WEB
- https://github.com/ospfranco/link-preview-js/pull/117 · Patch, Third Party Advisory, WEB
- https://snyk.io/vuln/SNYK-JS-LINKPREVIEWJS-2933520 · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-25876 · ADVISORY
- https://github.com/ospfranco/link-preview-js · PACKAGE
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 1 Jul 2022)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 2 Jul 2022)