CVE-2022-25876 json
Server-side Request Forgery (SSRF)
published 4y ago modified 4mo ago also GHSA-h9cw-7g8j-h66h , EUVD-2022-6347
- cvss
- 6.2
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 30%
- public exploits
- 0
- none known
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.
Patch / fix
- npm link-preview-js 2.1.17
- n/a link-preview-js 2.1.16
- github.com/ospfranco/link-preview-js#117 pull request
Is CVE-2022-25876 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerExploit prediction
0.37% chance of exploitation in the next 30 days, higher than 30% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- github.com https://github.com/ospfranco/link-preview-js/issues/115 referenced PoC, tagged "exploit" by a source, unverified
- snyk.io https://snyk.io/vuln/SNYK-JS-LINKPREVIEWJS-2933520 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.2 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N/E:P |
| CNA | 3.1 | 6.2 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| NVD | 2.0 | 2.1 | AV:L/AC:L/Au:N/C:P/I:N/A:N |
| GitHub | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | link-preview-js | <2.1.17 |
2.1.17 |
Affected products
- n/a link-preview-js
Classification
- Weakness
-
- CWE-918 Server-Side Request Forgery
References
-
github.com
/ospfranco/link-preview-js/pull/117
web, patch, third-party-advisory
-
github.com
/ospfranco/link-preview-js/issues/115
web, exploit, issue-tracking, third-party-advisory
-
snyk.io
/vuln/SNYK-JS-LINKPREVIEWJS-2933520
web, exploit, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-25876
advisory
-
github.com
/ospfranco/link-preview-js
package
Sources
- CVE List CVE-2022-25876
- GitHub Advisory GHSA-h9cw-7g8j-h66h
- NVD CVE-2022-25876
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.