CVE-2022-48285
JavaScript vulnerability analysis and mitigation

Overview

JSZip before version 3.8.0 contains a directory traversal vulnerability in its loadAsync function that allows attackers to exploit the system via a crafted ZIP archive (NVD, CVE Mitre). The vulnerability was discovered and disclosed on January 29, 2023, affecting all versions of JSZip prior to 3.8.0.

Technical details

The vulnerability exists in the loadAsync function of JSZip, which failed to properly sanitize file paths when processing ZIP archives. This could allow directory traversal attacks through specially crafted ZIP files. The vulnerability has been assigned a CVSS v3.1 base score of 7.3 (High), with the attack vector being Network (N), attack complexity Low (L), requiring no privileges (N) or user interaction (N), and affecting confidentiality, integrity, and availability all at Low (L) levels (NetApp Security).

Impact

When successfully exploited, this vulnerability could lead to disclosure of sensitive information, addition or modification of data, or Denial of Service (DoS). The vulnerability allows attackers to potentially write files outside the intended extraction directory through directory traversal sequences in the ZIP archive (NetApp Security).

Mitigation and workarounds

The vulnerability has been fixed in JSZip version 3.8.0. The fix includes sanitizing filenames when files are loaded with loadAsync to prevent zip slip attacks. The original filename is now available on each zip entry as unsafeOriginalName for reference. Users should upgrade to JSZip version 3.8.0 or later to address this vulnerability (GitHub Commit).

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-2025-67731HIGH8.7
  • JavaScriptJavaScript
  • servify-express
NoYesDec 12, 2025
CVE-2025-67718HIGH8.7
  • JavaScriptJavaScript
  • formio
NoYesDec 11, 2025
CVE-2025-65513HIGH7.5
  • JavaScriptJavaScript
  • mcp-fetch-server
NoNoDec 09, 2025
CVE-2025-67716MEDIUM5.7
  • JavaScriptJavaScript
  • @auth0/nextjs-auth0
NoYesDec 11, 2025
CVE-2025-67490MEDIUM5.4
  • JavaScriptJavaScript
  • @auth0/nextjs-auth0
NoYesDec 10, 2025

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