cross-zip is vulnerable to Directory Traversal through selective use of zip/unzip operations
High severity
GitHub Reviewed
Published
Oct 10, 2025
to the GitHub Advisory Database
•
Updated Oct 10, 2025
Description
Published by the National Vulnerability Database
Oct 10, 2025
Published to the GitHub Advisory Database
Oct 10, 2025
Reviewed
Oct 10, 2025
Last updated
Oct 10, 2025
All 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.
References