{"id":"GHSA-4wcx-c9c4-89p2","summary":"Malicious Package in react-datepicker-plus","details":"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.","modified":"2021-09-30T22:08:42Z","published":"2020-09-11T21:23:30Z","database_specific":{"github_reviewed_at":"2020-08-31T18:41:31Z","nvd_published_at":null,"cwe_ids":["CWE-506"],"severity":"CRITICAL","github_reviewed":true},"references":[{"type":"WEB","url":"https://www.npmjs.com/advisories/946"}],"affected":[{"package":{"name":"react-datepicker-plus","ecosystem":"npm","purl":"pkg:npm/react-datepicker-plus"},"ranges":[{"type":"SEMVER","events":[{"introduced":"2.4.2"},{"fixed":"2.4.6"}]}],"database_specific":{"last_known_affected_version_range":"\u003c= 2.4.3","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-4wcx-c9c4-89p2/GHSA-4wcx-c9c4-89p2.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}