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