GHSA-3fv6-q5xv-fhpw Malicious Package in coffee-project
A malicious npm package version steals sensitive form data like passwords and credit card numbers from users visiting the affected web application.
- 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-3fv6-q5xv-fhpw?
GHSA-3fv6-q5xv-fhpw is a vulnerability in coffee-project, 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 1.7.5 of coffee-project 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 1.7.5 of this module is found installed you will want to replace it with a version before or after 1.7.5. In addition to replacing the installed module, you will also want to evaluate your application to determine whether or not user data was compromised.
Users may consider downgrading to version 1.7.4
Which versions are affected by GHSA-3fv6-q5xv-fhpw?
2 open source packages ship an affected version, including coffee-project.
| Package | Affected | Fixed in |
|---|---|---|
coffee-project npm | All versions | None |
coffee-project npm | All versions | None |
How do I fix GHSA-3fv6-q5xv-fhpw?
No fix has been published for GHSA-3fv6-q5xv-fhpw yet. Limit exposure of the affected software until one is available.
Is GHSA-3fv6-q5xv-fhpw being exploited?
There is no known exploitation of GHSA-3fv6-q5xv-fhpw in the wild and no public exploit code.