{"id":"CVE-2022-25876","aliases":["CVE-2022-25876","GHSA-h9cw-7g8j-h66h"],"related":[],"kind":"vulnerability","state":"published","title":"Server-side Request Forgery (SSRF)","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"El paquete link-preview-js versiones anteriores a 2.1.16, es vulnerable a un ataque de tipo Server-side Request Forgery (SSRF) que permite a atacantes enviar peticiones arbitrarias a la red local y leer la respuesta. Esto es debido a una protección defectuosa de reenganche de DNS","source":"nvd"}],"published":"2022-07-01T20:00:22.396Z","modified":"2026-06-17T04:34:25.760Z","severity":{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N/E:P","score":6.2,"rating":"MEDIUM"},"severities":[{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N/E:P","score":6.2,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":5.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":5.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:L/AC:L/Au:N/C:P/I:N/A:N","score":2.1,"rating":"LOW"}],"cwes":["CWE-918"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","fixed":"2.1.16","status":"affected"}],"product":"link-preview-js","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.1.17"}],"ecosystem":"npm","package":"link-preview-js","purl":"pkg:npm/link-preview-js","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"2.1.16"}],"vendor":"link-preview-js_project","product":"link-preview-js","cpe":"cpe:2.3:a:link-preview-js_project:link-preview-js:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://github.com/ospfranco/link-preview-js/issues/115","tags":["exploit","issue-tracking","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://snyk.io/vuln/SNYK-JS-LINKPREVIEWJS-2933520","tags":["exploit","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/ospfranco/link-preview-js/pull/117","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25876","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/ospfranco/link-preview-js","tags":["package"],"sources":["ghsa"]}],"credits":["Reworr"],"assigner":"snyk","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-25876","url":"https://www.cve.org/CVERecord?id=CVE-2022-25876","licence":"CVE Terms of Use","modified":"2024-09-17T01:56:48.134Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-h9cw-7g8j-h66h","url":"https://github.com/advisories/GHSA-h9cw-7g8j-h66h","licence":"CC-BY-4.0","modified":"2026-03-13T22:11:55.092Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-25876","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25876","licence":"Public domain","modified":"2026-06-17T04:34:25.760Z"}],"updatedAt":"2026-11-25T22:58:12.678Z","epss":{"score":0.00373,"percentile":0.33337,"date":"2026-12-01T12:00:22.000Z"}}