Vulnerability · Published Jul 1, 2022 · Assigned by snyk
CVE-2022-25876Server-side Request Forgery (SSRF)
Medium 6.2
In plain English
A medium-severity security flaw in link-preview-js. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 31% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)6.2Medium
Exploit odds (30 days)0.4%top 69.2% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | link-preview-js | 2.1.17 | GHSA-h9cw-7g8j-h66h |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| n/a | link-preview-js | unspecified – before 2.1.16 |
References
- https://github.com/ospfranco/link-preview-js/issues/115 x_refsource_MISC
- https://snyk.io/vuln/SNYK-JS-LINKPREVIEWJS-2933520 x_refsource_MISC
- https://github.com/ospfranco/link-preview-js/pull/117 x_refsource_MISC