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

- Severity: Critical 9.8 (CVSS:3.1, scored by GitHub) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2020-09-11T21:23:30.000Z
- Modified: 2021-09-30T22:08:42.000Z
- Weaknesses: CWE-506

## 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.

(As written by GitHub Advisory Database.)

## Affected

- react-datepicker-plus (npm): from 2.4.2 before 2.4.6

## References

- <https://www.npmjs.com/advisories/946> (web)

## Sources

- GitHub Advisory Database: [GHSA-4wcx-c9c4-89p2](https://github.com/advisories/GHSA-4wcx-c9c4-89p2), CC-BY-4.0, modified 2021-09-30

---

Page: https://cve.day/GHSA-4wcx-c9c4-89p2 · Whole record: https://cve.day/GHSA-4wcx-c9c4-89p2.json · Rebuilt by cve.day 2026-11-25T22:56:44.074Z
