# CVE-2022-25876: Server-side Request Forgery (SSRF)

- Severity: Medium 6.2 (CVSS:3.1, scored by snyk) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N/E:P`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.37%, higher than 33% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2022-07-01T20:00:22.396Z
- Modified: 2026-06-17T04:34:25.760Z
- Also known as: GHSA-h9cw-7g8j-h66h
- Weaknesses: CWE-918
- 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.

(As written by CVE List.)

## Affected

- link-preview-js: from unspecified before 2.1.16
- link-preview-js (npm): before 2.1.17
- link-preview-js_project link-preview-js: before 2.1.16

## Every score

- snyk: CVSS:3.1 6.2 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N/E:P`
- GitHub: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:2.0 2.1 Low `AV:L/AC:L/Au:N/C:P/I:N/A:N`

## References

- <https://github.com/ospfranco/link-preview-js/issues/115> (exploit, issue-tracking, third-party-advisory, web)
- <https://snyk.io/vuln/SNYK-JS-LINKPREVIEWJS-2933520> (exploit, third-party-advisory, web)
- <https://github.com/ospfranco/link-preview-js/pull/117> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-25876> (advisory)
- <https://github.com/ospfranco/link-preview-js> (package)

## Sources

- CVE List: [CVE-2022-25876](https://www.cve.org/CVERecord?id=CVE-2022-25876), CVE Terms of Use, modified 2024-09-17
- GitHub Advisory Database: [GHSA-h9cw-7g8j-h66h](https://github.com/advisories/GHSA-h9cw-7g8j-h66h), CC-BY-4.0, modified 2026-03-13
- NVD: [CVE-2022-25876](https://nvd.nist.gov/vuln/detail/CVE-2022-25876), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-25876 · Whole record: https://cve.day/CVE-2022-25876.json · Rebuilt by cve.day 2026-11-25T22:58:12.678Z
