# GHSA-gjc9-932x-c59p: Malicious Package in leaflet-gpx

- Severity: Critical (rating, scored by GitHub)
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2020-09-03T00:34:33.000Z
- Modified: 2023-07-25T20:40:16.000Z

## 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

(As written by GitHub Advisory Database.)

## Affected

- leaflet-gpx (npm): 1.0.1

## References

- <https://www.npmjs.com/advisories/937> (web)

## Sources

- GitHub Advisory Database: [GHSA-gjc9-932x-c59p](https://github.com/advisories/GHSA-gjc9-932x-c59p), CC-BY-4.0, modified 2023-07-25

---

Page: https://cve.day/GHSA-gjc9-932x-c59p · Whole record: https://cve.day/GHSA-gjc9-932x-c59p.json · Rebuilt by cve.day 2026-11-25T22:56:45.453Z
