GHSA-chh2-rvhg-wqwr Malicious Package in json-serializer
A malicious npm package steals sensitive form data like passwords and credit card numbers from browser users.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is GHSA-chh2-rvhg-wqwr?
GHSA-chh2-rvhg-wqwr is a vulnerability in json-serializer, published on 3 Sep 2020. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
Version 2.0.10 of json-serializer contained malicious code. The code when executed in the browser would enumerate password, cvc, 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.
Which versions are affected by GHSA-chh2-rvhg-wqwr?
2 open source packages ship an affected version, including json-serializer.
| Package | Affected | Fixed in |
|---|---|---|
json-serializer npm | From 2.0.10 | 2.0.11 |
json-serializer npm | From 2.0.10 | 2.0.11 |
How do I fix GHSA-chh2-rvhg-wqwr?
Upgrade json-serializer to 2.0.11 or later.
Is GHSA-chh2-rvhg-wqwr being exploited?
There is no known exploitation of GHSA-chh2-rvhg-wqwr in the wild and no public exploit code.