GHSA-28xx-8j99-m32j Malicious Package in nginxbeautifier
A malicious npm package version steals credit card and password data from web forms, requiring developers to upgrade and audit for data breaches.
- 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
- Available
What is GHSA-28xx-8j99-m32j?
GHSA-28xx-8j99-m32j is a vulnerability in nginxbeautifier, 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.14 of nginxbeautifier 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.14 of this module is found installed you will want to replace it with a version before or after 1.0.14. In addition to replacing the installed module, you will also want to evaluate your application to determine whether or not user data was compromised.
Which versions are affected by GHSA-28xx-8j99-m32j?
2 open source packages ship an affected version, including nginxbeautifier.
| Package | Affected | Fixed in |
|---|---|---|
nginxbeautifier npm | From 1.0.14 | 1.0.15 |
nginxbeautifier npm | From 1.0.14 | 1.0.15 |
How do I fix GHSA-28xx-8j99-m32j?
Upgrade nginxbeautifier to 1.0.15 or later.
Is GHSA-28xx-8j99-m32j being exploited?
There is no known exploitation of GHSA-28xx-8j99-m32j in the wild and no public exploit code.