Skip to content

GHSA-4wcx-c9c4-89p2 Malicious Package in react-datepicker-plus

CriticalCVSS 9.8
Published
Updated
Exploit status
No public exploit known
Technology
PHP

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
npm react-datepicker-plus(npm) >= 2.4.2, < 2.4.6; >= 2.4.2, <= 2.4.3 2.4.6 Fixed

Affected products

ProductAffected versionsFixed in
npm react-datepicker-plus(npm) >= 2.4.2, <= 2.4.3 No fix listed
npm react-datepicker-plus(npm) >= 2.4.2, < 2.4.6 2.4.6

References