GHSA-48hw-37g6-3gw4: Mx nested menu Malicious Package Vulnerability
CRITICALGHSA-48hw-37g6-3gw4 is a CRITICAL malicious package vulnerability (General Security Weakness) affecting Mx nested menu libraries in the npm ecosystem. The issue involves malicious package in mx-nested-menu. Remediation is available in the latest vendor maintenance releases.
GHSA-48hw-37g6-3gw4 at a Glance
How to Fix GHSA-48hw-37g6-3gw4
To remediate this vulnerability, upgrade all affected Mx nested menu dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install mx-nested-menu@Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls mx-nested-menu
How to Check if You Are Affected
To determine whether your Node.js application is affected by GHSA-48hw-37g6-3gw4, inspect your project dependencies using npm:
npm ls mx-nested-menu
Analyze the terminal output to locate any version of Mx nested menu in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: The npm ls mx-nested-menu command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under General Security Weakness. In Mx nested menu, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-48hw-37g6-3gw4 Affected Mx nested menu Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
mx-nested-menu
|
npm |
0.1.30
All 1 versions
0.1.30
|
None specified
|
References
Frequently Asked Questions
What is GHSA-48hw-37g6-3gw4?
Which Mx nested menu versions are affected?
What version fixes GHSA-48hw-37g6-3gw4?
Is mx-nested-menu affected?
What CWE is associated with GHSA-48hw-37g6-3gw4?
How can I check npm dependencies for GHSA-48hw-37g6-3gw4?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-48hw-37g6-3gw4",
"modified" : "2023-07-27T20:35:38Z",
"published" : "2020-09-03T02:35:41Z",
"aliases" : [ ],
"summary" : "Malicious Package in mx-nested-menu",
"details" : "Version 0.1.30 of `mx-nested-menu` contained malicious code. The code when executed in the browser would enumerate password, cvc and cardnumber fields from forms and send the extracted values to `https://js-metrics.com/minjs.php?pl=`\n\n\n\n## Recommendation\n\nRemove the package from your environment and evaluate your application to determine whether or not user data was compromised.\n\nUsers may consider downgrading to version 0.1.29",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "mx-nested-menu"
},
"versions" : [ "0.1.30" ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://www.npmjs.com/advisories/947"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2020-08-31T18:41:33Z",
"nvd_published_at" : null
}
}