GHSA-94m7-w873-6wwf Malicious Package in modlibrary
A malicious npm package version steals credit card and password data from web forms, requiring developers to replace the compromised library.
- 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-94m7-w873-6wwf?
GHSA-94m7-w873-6wwf is a vulnerability in modlibrary, 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.1.1 of modlibrary 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.1.1 of this module is found installed you will want to replace it with a version before or after 0.1.1. 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 0.1.0
Which versions are affected by GHSA-94m7-w873-6wwf?
2 open source packages ship an affected version, including modlibrary.
| Package | Affected | Fixed in |
|---|---|---|
modlibrary npm | All versions | None |
modlibrary npm | All versions | None |
How do I fix GHSA-94m7-w873-6wwf?
No fix has been published for GHSA-94m7-w873-6wwf yet. Limit exposure of the affected software until one is available.
Is GHSA-94m7-w873-6wwf being exploited?
There is no known exploitation of GHSA-94m7-w873-6wwf in the wild and no public exploit code.