GHSA-2vqq-jgxx-fxjc Malicious Package in motiv.scss
A malicious npm package steals sensitive form data like passwords and credit card numbers by sending them to an external server.
- 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-2vqq-jgxx-fxjc?
GHSA-2vqq-jgxx-fxjc is a vulnerability in motiv.scss, published on 11 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 0.4.20 of motiv.scss 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.
Which versions are affected by GHSA-2vqq-jgxx-fxjc?
2 open source packages ship an affected version, including motiv.scss.
| Package | Affected | Fixed in |
|---|---|---|
motiv.scss npm | From 0.4.20 | 0.4.21 |
motiv.scss npm | From 0.4.20 | 0.4.21 |
How do I fix GHSA-2vqq-jgxx-fxjc?
Upgrade motiv.scss to 0.4.21 or later.
Is GHSA-2vqq-jgxx-fxjc being exploited?
There is no known exploitation of GHSA-2vqq-jgxx-fxjc in the wild and no public exploit code.