CVE-2022-48285: Path Traversal

Published Jan 29, 2023
·
Updated

A flaw was found in the JSZip package. Affected versions of JSZip could allow a remote attacker to traverse directories on the system caused by the failure to sanitize filenames when files are loaded with loadAsync, which makes the library vulnerable to a Zip Slip attack. By extracting files from a specially crafted archive, an attacker could gain access to parts of the file system outside of the target folder, overwrite the executable files, and execute arbitrary commands on the system.

Other sources

loadAsync in JSZip before 3.8.0 allows Directory Traversal via a crafted ZIP archive.

Affected Software

3 affected componentsFixes available
redhat/jszip<3.8.0
3.8.0
npm/jszip<3.8.0
3.8.0
Jszip Project Jszip Node.js<3.8.0

Event History

Jan 29, 2023
CVE Published
via MITRE·12:00 AM
Data Sourced
12:00 AM
RemedyDescriptionSeverityWeaknessAffected Software
Data Sourced
via MITRE·12:00 AM
Description
Advisory Published
via GitHub·06:30 AM
Jan 30, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the vulnerability ID of this vulnerability?

The vulnerability ID of this vulnerability is CVE-2022-48285.

2

What is the title of this vulnerability?

The title of this vulnerability is 'loadAsync in JSZip before 3.8.0 allows Directory Traversal via a crafted ZIP archive.'

3

What is the severity of CVE-2022-48285?

The severity of CVE-2022-48285 is high.

4

How does CVE-2022-48285 affect JSZip?

CVE-2022-48285 affects JSZip by allowing a remote attacker to traverse directories on the system through a Zip Slip attack.

5

How do I fix CVE-2022-48285 in JSZip?

To fix CVE-2022-48285 in JSZip, update to version 3.8.0 or later.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203