GHSA-h9cw-7g8j-h66h

Suggest an improvement
Source
https://github.com/advisories/GHSA-h9cw-7g8j-h66h
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/07/GHSA-h9cw-7g8j-h66h/GHSA-h9cw-7g8j-h66h.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-h9cw-7g8j-h66h
Aliases
  • CVE-2022-25876
Published
2022-07-02T00:00:19Z
Modified
2023-11-08T04:08:50.399387Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
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.

Database specific
{
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-918"
    ],
    "nvd_published_at": "2022-07-01T20:15:00Z",
    "github_reviewed_at": "2022-07-06T21:08:37Z",
    "severity": "MODERATE"
}
References

Affected packages

npm / link-preview-js

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.1.17