GHSA-5645-gc7h-98h8

Suggest an improvement
Source
https://github.com/advisories/GHSA-5645-gc7h-98h8
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-5645-gc7h-98h8/GHSA-5645-gc7h-98h8.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-5645-gc7h-98h8
Published
2020-09-01T20:32:07Z
Modified
2023-07-27T20:13:07Z
Summary
Malicious Package in react-dates-sc
Details

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

Recommendation

If version 0.3.0 of this module is found installed you will want to replace it with a version before or after 0.3.0. In addition to replacing the installed module, you will also want to evaluate your application to determine whether or not user data was compromised.

Users may consider downgrading to version 0.3.0-beta.83

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

Affected packages

npm / react-dates-sc

Package

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

Affected ranges

Affected versions

0.*
0.3.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-5645-gc7h-98h8/GHSA-5645-gc7h-98h8.json"