{"id":"GHSA-4wcx-c9c4-89p2","aliases":["GHSA-4wcx-c9c4-89p2"],"related":[],"kind":"vulnerability","state":"published","title":"Malicious Package in react-datepicker-plus","summary":"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=`\n\n\n\n## Recommendation\n\nRemove the package from your environment and evaluate your application to determine whether or not user data was compromised.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"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=`\n\n\n\n## Recommendation\n\nRemove the package from your environment and evaluate your application to determine whether or not user data was compromised.","format":"markdown","source":"ghsa"}],"published":"2020-09-11T21:23:30.000Z","modified":"2021-09-30T22:08:42.000Z","severity":{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-506"],"affected":[{"ranges":[{"type":"semver","introduced":"2.4.2","status":"affected","fixed":"2.4.6"}],"ecosystem":"npm","package":"react-datepicker-plus","purl":"pkg:npm/react-datepicker-plus","source":"ghsa"}],"references":[{"url":"https://www.npmjs.com/advisories/946","tags":["web"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-4wcx-c9c4-89p2","url":"https://github.com/advisories/GHSA-4wcx-c9c4-89p2","licence":"CC-BY-4.0","modified":"2021-09-30T22:08:42.000Z"}],"updatedAt":"2026-11-25T22:56:44.074Z"}