GHSA-m5pf-5894-jmx7 Malicious Package in sailclothjs
A malicious npm package 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-m5pf-5894-jmx7?
GHSA-m5pf-5894-jmx7 is a vulnerability in sailclothjs, 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 1.2.6 of sailclothjs 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. It's also recommended to evaluate your application to determine whether or not user data was compromised.
Users may consider a downgrade to 1.2.5
Which versions are affected by GHSA-m5pf-5894-jmx7?
2 open source packages ship an affected version, including sailclothjs.
| Package | Affected | Fixed in |
|---|---|---|
sailclothjs npm | All versions | None |
sailclothjs npm | All versions | None |
How do I fix GHSA-m5pf-5894-jmx7?
No fix has been published for GHSA-m5pf-5894-jmx7 yet. Limit exposure of the affected software until one is available.
Is GHSA-m5pf-5894-jmx7 being exploited?
There is no known exploitation of GHSA-m5pf-5894-jmx7 in the wild and no public exploit code.