GitHub Advisoryadvisory · npm
GHSA-4wcx-c9c4-89p2 Malicious Package in react-datepicker-plus
CRITICAL
Official page ↗
- Ecosystem
- npm
- Packages
- react-datepicker-plus
- Severity
- Critical
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-506
- Reviewed
- 2020-08-31
Affected packages
• npm react-datepicker-plus: >= 2.4.2, < 2.4.6 → fixed in 2.4.6
Description
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.
Related
Weakness · CWE (1)
- CWE-506 Embedded Malicious Code weakness