Skip to content

Malicious Package in react-datepicker-plus

Critical severity GitHub Reviewed Published Sep 11, 2020 to the GitHub Advisory Database • Updated Jan 9, 2023

Package

npm react-datepicker-plus (npm)

Affected versions

>= 2.4.2, <= 2.4.3

Patched versions

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.

References

Reviewed Aug 31, 2020
Published to the GitHub Advisory Database Sep 11, 2020
Last updated Jan 9, 2023

Severity

Critical
9.8
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Weaknesses

CVE ID

No known CVE

GHSA ID

GHSA-4wcx-c9c4-89p2

Source code

No known source code
Checking history
See something to contribute? Suggest improvements for this vulnerability.