Vulnerability DatabaseGHSA-54cr-gv8w-8324

GHSA-54cr-gv8w-8324
JavaScript vulnerability analysis and mitigation

Overview

A critical security vulnerability was identified in version 1.0.7 of the xoc npm package. The vulnerability was discovered and published to the GitHub Advisory Database on September 1, 2020, with the identifier GHSA-54cr-gv8w-8324. The affected package version contains malicious code that specifically targets web applications (GitHub Advisory).

Technical details

The malicious code in xoc version 1.0.7 was designed to execute in the browser environment. When activated, it would scan for sensitive form fields including passwords, CVC numbers, and credit card numbers. The compromised data would then be exfiltrated to an external endpoint at js-metrics.com/minjs.php?pl= (GitHub Advisory).

Impact

The vulnerability poses a critical risk to applications using the compromised package version, as it can lead to the theft of sensitive user data, including credit card information and passwords. Any application that incorporated version 1.0.7 of the xoc package potentially exposed its users to credential and financial data theft (GitHub Advisory).

Exploitability

The malicious code is automatically executed when the compromised package is implemented in a web application, requiring no additional exploitation steps. The package specifically targets form fields containing sensitive information, making it particularly dangerous for e-commerce and login systems (GitHub Advisory).

Mitigation and workarounds

Users are advised to immediately remove version 1.0.7 of the xoc package if installed. The recommended mitigation is to downgrade to version 1.0.5 or use a version after 1.0.7. Additionally, organizations should conduct a security assessment to determine if any user data was compromised during the period when the malicious package was in use (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