Vulnerability DatabaseGHSA-jf8x-wg7f-p3w8

GHSA-jf8x-wg7f-p3w8
JavaScript vulnerability analysis and mitigation

Overview

The vulnerability GHSA-jf8x-wg7f-p3w8 affects the npm package cage-js, which was identified as a malicious package. The issue was discovered and reviewed on August 31, 2020, published to the GitHub Advisory Database on September 3, 2020, and last updated on January 9, 2023. All versions of cage-js (>=0.0.0) are affected, with no patched versions available (GitHub Advisory).

Technical details

The vulnerability has been assigned a Critical severity rating with a CVSS score of 9.8. The CVSS v3 base metrics indicate Network attack vector, Low attack complexity, No privileges required, No user interaction needed, Unchanged scope, and High impact on Confidentiality, Integrity, and Availability. The vulnerability is classified under CWE-506. The malicious package operates by downloading and executing a script from a remote server during the postinstall process (GitHub Advisory).

Impact

The impact of this vulnerability is severe as any computer that has this package installed or running should be considered fully compromised. The malicious code can potentially give full control of the affected computer to an outside entity, compromising all secrets and keys stored on the system (GitHub Advisory).

Exploitability

The package is inherently malicious and executes its payload during the installation process through a postinstall script, requiring no additional exploitation steps. The attack complexity is rated as Low, with no privileges or user interaction required for exploitation (GitHub Advisory).

Mitigation and workarounds

The recommended mitigation steps include immediate removal of the package from affected systems. However, due to the nature of the compromise, removing the package may not eliminate all malicious software installed. All secrets and keys stored on affected computers should be rotated immediately from a different, uncompromised system (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-77415CRITICAL9.3
  • JavaScript logoJavaScript
  • jsonata
NoYesAug 21, 2026
CVE-2026-77414CRITICAL9.3
  • JavaScript logoJavaScript
  • jsonata
NoYesAug 21, 2026
CVE-2026-77413CRITICAL9.3
  • JavaScript logoJavaScript
  • jsonata
NoYesAug 21, 2026
CVE-2026-63421HIGH7.5
  • JavaScript logoJavaScript
  • @keystone-6/core
NoYesAug 21, 2026
CVE-2026-53509MEDIUM5.7
  • JavaScript logoJavaScript
  • @aborruso/ckan-mcp-server
NoYesAug 21, 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