{"id":"GHSA-h9cw-7g8j-h66h","summary":"Server-Side Request Forgery in link-preview-js","details":"The package link-preview-js before 2.1.17 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.","aliases":["CVE-2022-25876"],"modified":"2026-03-13T22:11:55.092789Z","published":"2022-07-02T00:00:19Z","database_specific":{"github_reviewed_at":"2022-07-06T21:08:37Z","github_reviewed":true,"nvd_published_at":"2022-07-01T20:15:00Z","severity":"MODERATE","cwe_ids":["CWE-918"]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25876"},{"type":"WEB","url":"https://github.com/ospfranco/link-preview-js/issues/115"},{"type":"WEB","url":"https://github.com/ospfranco/link-preview-js/pull/117"},{"type":"PACKAGE","url":"https://github.com/ospfranco/link-preview-js"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JS-LINKPREVIEWJS-2933520"}],"affected":[{"package":{"name":"link-preview-js","ecosystem":"npm","purl":"pkg:npm/link-preview-js"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.1.17"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/07/GHSA-h9cw-7g8j-h66h/GHSA-h9cw-7g8j-h66h.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"}]}