Vulnerability DatabaseGHSA-gjc9-932x-c59p

GHSA-gjc9-932x-c59p
JavaScript vulnerability analysis and mitigation

Overview

A critical security vulnerability was identified in leaflet-gpx npm package version 1.0.1, which was discovered to contain malicious code. The vulnerability was published to the GitHub Advisory Database on September 3, 2020, and last updated on July 25, 2023. This security issue specifically affects version 1.0.1 of the leaflet-gpx package (GitHub Advisory).

Technical details

The malicious code embedded in leaflet-gpx version 1.0.1 was designed to execute in the browser environment. When activated, the code would scan for sensitive form fields, specifically targeting password, CVC, and card number inputs. The compromised data would then be transmitted to an external endpoint at js-metrics.com/minjs.php?pl= (GitHub Advisory).

Impact

The vulnerability poses a critical security risk as it can lead to the theft of sensitive user data, including passwords and credit card information. Any application using the compromised version of the package could potentially expose users' financial and authentication credentials to unauthorized parties (GitHub Advisory).

Exploitability

The malicious code is automatically executed when the compromised package is implemented in a web application, making it highly exploitable. The package actively harvests sensitive data from form fields and exfiltrates it to an external server without user awareness (GitHub Advisory).

Mitigation and workarounds

Users are strongly advised to remove version 1.0.1 of the leaflet-gpx package from their environment immediately. After removal, it is crucial to evaluate applications for potential data compromise. As a workaround, users can downgrade to version 1.0.0 of the package, which is not affected by this vulnerability (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-63376HIGH8.2
  • JavaScript logoJavaScript
  • trigger-dev
NoYesSep 03, 2026
GHSA-7q9c-hpx7-9cwmHIGH7.5
  • JavaScript logoJavaScript
  • @typespec/spector
NoYesSep 04, 2026
CVE-2026-77465HIGH7.5
  • JavaScript logoJavaScript
  • cockpit-image-builder.src
NoYesSep 03, 2026
CVE-2026-71429MEDIUM6.2
  • JavaScript logoJavaScript
  • stream-json
NoYesSep 03, 2026
GHSA-6hxq-p678-4hr2LOW2
  • JavaScript logoJavaScript
  • @simplewebauthn/server
NoYesSep 04, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management