GHSA-c8h6-89q2-mgv8 Malicious Package in dossier
A malicious npm package version steals sensitive form data like passwords and credit card numbers from 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
- None listed
What is GHSA-c8h6-89q2-mgv8?
GHSA-c8h6-89q2-mgv8 is a vulnerability in dossier, published on 1 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.0.4 of dossier 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
If version 0.0.4 of this module is found installed you will want to replace it with a version before or after 0.0.4. In addition to replacing the installed module, you will also want to evaluate your application to determine whether or not user data was compromised.
Which versions are affected by GHSA-c8h6-89q2-mgv8?
2 open source packages ship an affected version, including dossier.
| Package | Affected | Fixed in |
|---|---|---|
dossier npm | All versions | None |
dossier npm | All versions | None |
How do I fix GHSA-c8h6-89q2-mgv8?
No fix has been published for GHSA-c8h6-89q2-mgv8 yet. Limit exposure of the affected software until one is available.
Is GHSA-c8h6-89q2-mgv8 being exploited?
There is no known exploitation of GHSA-c8h6-89q2-mgv8 in the wild and no public exploit code.