Vulnerability DatabaseGHSA-p7w2-mc6m-mfx2

GHSA-p7w2-mc6m-mfx2: 
JavaScript vulnerability analysis and mitigation

Overview

A critical security vulnerability was identified in the npm package 'scroool' version 0.1.7, which was discovered to contain malicious code. The vulnerability was published to the GitHub Advisory Database on September 11, 2020, and was last updated on July 27, 2023. This security issue specifically affects version 0.1.7 of the scroool package (GitHub Advisory).

Technical details

The malicious code embedded in scroool version 0.1.7 was designed to execute in the browser environment. When activated, the code would specifically target and enumerate password, CVC, and card number fields from forms within the application. 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 information, particularly targeting payment card data and passwords. Any application that incorporated the compromised version of the package could potentially have exposed users' sensitive form data to unauthorized collection (GitHub Advisory).

Exploitability

The malicious code is automatically executed when the compromised package is implemented in a browser environment, making it highly exploitable with no additional user interaction required. The code specifically targets form fields containing sensitive payment information and credentials (GitHub Advisory).

Mitigation and workarounds

Users are strongly advised to remove the compromised package from their environment and conduct a thorough evaluation of their application to determine if any user data has been compromised. As a temporary solution, users can consider downgrading to version 0.1.6 of the package. No patched versions are currently available (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-g78f-3cr8-fhw5MEDIUM6.5
  • JavaScript logoJavaScript
  • imapflow
NoYesNov 15, 2026
GHSA-4j79-qhcg-f5wvMEDIUM6.4
  • JavaScript logoJavaScript
  • systeminformation
NoYesNov 15, 2026
GHSA-fcj7-c534-vj7fMEDIUM5.9
  • JavaScript logoJavaScript
  • find-my-way
NoNoNov 15, 2026
GHSA-chpj-828m-9wj6MEDIUM4.8
  • JavaScript logoJavaScript
  • karakeep
NoYesNov 15, 2026
GHSA-xcgp-hwgr-q92jLOW3.5
  • JavaScript logoJavaScript
  • karakeep
NoYesNov 15, 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

Additional Wiz resources

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