SecurityContext

CVE-2022-25876: link-preview-js - Server-side Request Forgery

  • Cve: CVE-2022-25876
  • Name: link-preview-js - Server-side Request Forgery
  • 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.
  • Impact: Attackers can send arbitrary requests to local network and read responses, potentially leading to information disclosure or network compromise.
  • Remediation: Update to version 2.1.16 or later to fix DNS rebinding protection issues.
  • Vulnerability type: server_side_request_forgery
  • Vulnerability impact: information_disclosure
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.5
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
  • Epss score: 0.00373
  • Epss percentile: 0.31956
  • Assignee: [email protected]
  • Published at: 2022-07-01T20:15:07Z
  • Age in days: 1607
  • Modified at: 2026-06-17T04:34:25Z
  • Patch available: yes
  • Public exploits total: 2
  • References total: 3
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-25876
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-918Server-Side Request Forgery

Public exploits

UrlSourceAdded date
https://github.com/ospfranco/link-preview-js/issues/115nvd2022-07-01
https://snyk.io/vuln/SNYK-JS-LINKPREVIEWJS-2933520nvd2022-07-01

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/ospfranco/link-preview-js/pull/117Patch, Third Party Advisory
https://github.com/ospfranco/link-preview-js/issues/115Exploit, Issue Tracking, Third Party Advisory
https://snyk.io/vuln/SNYK-JS-LINKPREVIEWJS-2933520Exploit, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
link-preview-js_project:link-preview-js< 2.1.16nonvd/v1/products/link-preview-js_project/link-preview-js

Projects

RepositoryLink kindsIndexedUrl
ospfranco/link-preview-jsissues, package, pullyes/v1/repositories/ospfranco/link-preview-js

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 2
  • Public exploit first date: 2022-07-01
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts