CVE-2025-57753
Medium
Description
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.
SeverityMedium
CVSS6.0
Exploit probability—
ProductVite-plugin-static-copy
PublishedAug 21, 2025
First seenAug 21, 2025
Weakness typeCWE-22Path traversal
How to fix
Update
- vite-plugin-static-copy3.1.2, 2.3.2 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| vite-plugin-static-copynpm | 3.0.0 ≤ v < 3.1.2, 0.4.3 ≤ v < 2.3.2 | 3.1.2, 2.3.2 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.