GitHub Advisoryadvisory · npm
GHSA-5645-gc7h-98h8 Malicious Package in react-dates-sc
CRITICAL
Official page ↗
- Ecosystem
- npm
- Packages
- react-dates-sc
- Severity
- Critical
- Reviewed
- 2020-08-31
Affected packages
• npm react-dates-sc: 0.3.0 (no fix yet)
Description
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