GHSA-4wcx-c9c4-89p2

Suggest an improvement
Source
https://github.com/advisories/GHSA-4wcx-c9c4-89p2
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-4wcx-c9c4-89p2/GHSA-4wcx-c9c4-89p2.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-4wcx-c9c4-89p2
Published
2020-09-11T21:23:30Z
Modified
2021-09-30T22:08:42Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Malicious Package in react-datepicker-plus
Details

Versions 2.4.3 and 2.4.2 of react-datepicker-plus contained malicious code. The code when executed in the browser would enumerate password, cvc and cardnumber fields from forms and send the extracted values to https://js-metrics.com/minjs.php?pl=

Recommendation

Remove the package from your environment and evaluate your application to determine whether or not user data was compromised.

Database specific
{
    "cwe_ids": [
        "CWE-506"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2020-08-31T18:41:31Z",
    "nvd_published_at": null,
    "severity": "CRITICAL"
}
References

Affected packages

npm / react-datepicker-plus

Package

Name
react-datepicker-plus
View open source insights on deps.dev
Purl
pkg:npm/react-datepicker-plus

Affected ranges

Type
SEMVER
Events
Introduced
2.4.2
Fixed
2.4.6

Database specific

last_known_affected_version_range
"<= 2.4.3"
source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-4wcx-c9c4-89p2/GHSA-4wcx-c9c4-89p2.json"