Vulnerabilities in pkg:npm/cross-zip
PACKAGECVE-2025-11569 is a LOW path traversal vulnerability (CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')) affecting Withdrawn Advisory libraries in the npm ecosystem. The issue involves cross-zip is vulnerable to directory traversal through selective use of zip/unzip operations. Remediation is available in the latest vendor maintenance releases.
pkg:npm/cross-zip
Vulnerability advisories affecting package pkg:npm/cross-zip. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-gj5f-73vh-wpf7 | CVE-2025-11569 | LOW | Withdrawn Advisory: cross-zip is vulnerable to Directory Traversal through selective use of zip/unzip operations |
CVE-2025-11569 at a Glance
How to Fix CVE-2025-11569
To remediate this vulnerability, upgrade all affected Withdrawn Advisory 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 cross-zip@Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls cross-zip
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2025-11569, inspect your project dependencies using npm:
npm ls cross-zip
Analyze the terminal output to locate any version of Withdrawn Advisory 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 cross-zip 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 CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal'), where the product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory. In Withdrawn Advisory, 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
CVE-2025-11569 Affected Withdrawn Advisory Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
cross-zip
|
npm |
≤ 4.0.1
|
|
References
Frequently Asked Questions
What is CVE-2025-11569?
Which Withdrawn Advisory versions are affected?
What version fixes CVE-2025-11569?
Is cross-zip affected?
What CWE is associated with CVE-2025-11569?
How can I check npm dependencies for CVE-2025-11569?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-gj5f-73vh-wpf7",
"modified" : "2025-10-20T17:49:01Z",
"published" : "2025-10-10T06:30:55Z",
"withdrawn" : "2025-10-20T17:49:01Z",
"aliases" : [ "CVE-2025-11569" ],
"summary" : "Withdrawn Advisory: cross-zip is vulnerable to Directory Traversal through selective use of zip/unzip operations",
"details" : "### Withdrawn Advisory\nThis advisory has been withdrawn because it does not discuss a valid vulnerability. This link is maintained to preserve external references.\n\n### Original Description\nAll versions of the package cross-zip are vulnerable to Directory Traversal via consecutive usage of zipSync() and unzipSync () functions that allow arguments such as __dirname. An attacker can access system files by selectively doing zip/unzip operations.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "cross-zip"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "4.0.1"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-11569"
}, {
"type" : "WEB",
"url" : "https://gist.github.com/mcoimbra/9ab12a6187fac41d2fa7ba594ed535ac"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/feross/cross-zip"
}, {
"type" : "WEB",
"url" : "https://github.com/feross/cross-zip/blob/eba335474e6142468bd8904f6456208db906d40d/index.js%23L94"
}, {
"type" : "WEB",
"url" : "https://security.snyk.io/vuln/SNYK-JS-CROSSZIP-6105396"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-22" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2025-10-10T23:49:44Z",
"nvd_published_at" : "2025-10-10T05:15:32Z"
}
}