CVE-2025-57753
August 21, 2025
vite-plugin-static-copy is rollup-plugin-copy for Vite with dev server support. Files not included in src are accessible with a crafted request. The vulnerability is fixed in 2.3.2 and 3.1.2.
Affected Packages
https://github.com/sapphi-red/vite-plugin-static-copy.git (GITHUB):
Affected version(s) >=vite-plugin-static-copy@1.0.0 <vite-plugin-static-copy@2.3.2Fix Suggestion:
Update to version vite-plugin-static-copy@2.3.2https://github.com/sapphi-red/vite-plugin-static-copy.git (GITHUB):
Affected version(s) >=vite-plugin-static-copy@3.0.0 <vite-plugin-static-copy@3.1.2Fix Suggestion:
Update to version vite-plugin-static-copy@3.1.2vite-plugin-static-copy (NPM):
Affected version(s) >=3.0.0 <3.1.2Fix Suggestion:
Update to version 3.1.2vite-plugin-static-copy (NPM):
Affected version(s) >=0.4.3 <2.3.2Fix Suggestion:
Update to version 2.3.2Related ResourcesĀ (7)
Do you need more information?
Contact UsCVSS v4
Base Score:
6
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
PRESENT
Privileges Required
NONE
User Interaction
PASSIVE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
NONE
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
6.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE
Weakness Type (CWE)
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
EPSS
Base Score:
0.15