GHSA-gjc9-932x-c59p Malicious Package in leaflet-gpx
A malicious npm package version steals credit card and password data from web forms, requiring developers to remove the package 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
- None listed
What is GHSA-gjc9-932x-c59p?
GHSA-gjc9-932x-c59p is a vulnerability in leaflet-gpx, 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.0.1 of leaflet-gpx contained malicious code. The code when executed in the browser would enumerate password, cvc and cardnumber fields from forms and send the extracted values to https://js-metrics.com/minjs.php?pl=
Recommendation
Remove the package from your environment and evaluate your application to determine whether or not user data was compromised.
Users may consider a downgrade to version 1.0.0
Which versions are affected by GHSA-gjc9-932x-c59p?
2 open source packages ship an affected version, including leaflet-gpx.
| Package | Affected | Fixed in |
|---|---|---|
leaflet-gpx npm | All versions | None |
leaflet-gpx npm | All versions | None |
How do I fix GHSA-gjc9-932x-c59p?
No fix has been published for GHSA-gjc9-932x-c59p yet. Limit exposure of the affected software until one is available.
Is GHSA-gjc9-932x-c59p being exploited?
There is no known exploitation of GHSA-gjc9-932x-c59p in the wild and no public exploit code.