GHSA-3wh2-2pp3-2823 Malicious Package in simple-alipay
A malicious version of the simple-alipay npm package steals credit card and password data from web forms, requiring users to upgrade or downgrade.
- 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-3wh2-2pp3-2823?
GHSA-3wh2-2pp3-2823 is a vulnerability in simple-alipay, 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.0.1 of simple-alipay 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.0.1 of this module is found installed you will want to replace it with a version before or after 1.0.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 1.0.0
Which versions are affected by GHSA-3wh2-2pp3-2823?
2 open source packages ship an affected version, including simple-alipay.
| Package | Affected | Fixed in |
|---|---|---|
simple-alipay npm | All versions | None |
simple-alipay npm | All versions | None |
How do I fix GHSA-3wh2-2pp3-2823?
No fix has been published for GHSA-3wh2-2pp3-2823 yet. Limit exposure of the affected software until one is available.
Is GHSA-3wh2-2pp3-2823 being exploited?
There is no known exploitation of GHSA-3wh2-2pp3-2823 in the wild and no public exploit code.