PHP2Shell: Read our blog on the critical RCE vulnerabilities affecting 70% of the Internet
Vulnerability DatabaseGHSA-c722-pv5w-cfg2

GHSA-c722-pv5w-cfg2: 
JavaScript vulnerability analysis and mitigation

Overview

A critical security vulnerability was identified in the npm package github-jquery-widgets version 0.1.2. The vulnerability, tracked as GHSA-c722-pv5w-cfg2, was discovered and published to the GitHub Advisory Database on September 11, 2020, with the latest update on July 27, 2023. The affected package version contains malicious code that specifically targets form fields containing sensitive information (GitHub Advisory).

Technical details

The malicious code embedded in github-jquery-widgets v0.1.2 is designed to execute in the browser environment. When activated, it specifically targets and enumerates form fields containing passwords, CVC numbers, and credit card numbers. The compromised data is then exfiltrated to an external endpoint at js-metrics.com/minjs.php?pl=. The vulnerability has been assigned a Critical severity rating (GitHub Advisory).

Impact

The vulnerability enables unauthorized collection and exfiltration of sensitive user data, including passwords and credit card information, from web forms where the compromised package is implemented. This poses a significant risk of financial fraud and credential theft for users interacting with affected applications (GitHub Advisory).

Exploitability

The malicious code is automatically executed when the compromised package version is implemented in a web application, requiring no additional exploitation steps. The package actively harvests sensitive data from form fields and transmits it to an external server (GitHub Advisory).

Mitigation and workarounds

Users are strongly advised to remove version 0.1.2 of the github-jquery-widgets package from their environment immediately. After removal, a thorough evaluation of the application should be conducted to determine if any user data has been compromised. As a temporary solution, users can downgrade to version 0.1.1 of the package (GitHub Advisory).

Additional resources


Source: This report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

GHSA-jr5w-w6x2-84p9HIGH7.4
  • JavaScript logoJavaScript
  • electron
NoYesOct 22, 2026
GHSA-v9q2-hcqj-ggqrMEDIUMN/A
  • JavaScript logoJavaScript
  • seamless-auth-api
NoYesOct 22, 2026
GHSA-v2q2-q246-8chmMEDIUMN/A
  • JavaScript logoJavaScript
  • seamless-auth-api
NoYesOct 22, 2026
GHSA-qx82-28gf-w744HIGHN/A
  • JavaScript logoJavaScript
  • seamless-auth-api
NoYesOct 22, 2026
GHSA-9xg2-j8fg-427cMEDIUMN/A
  • JavaScript logoJavaScript
  • seamless-auth-api
NoYesOct 22, 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