CVE-2025-57753sapphi-red vite-plugin-static-copy
Medium 6.0 No auth needed
Follow: this CVE · sapphi-red · sapphi-red vite-plugin-static-copy We alert you by email or Slack (account required).
- Priority
- 51
- CVSS 4.0
- 6.0
- EPSS
- —
- Auth required
- No
- Published
- Aug 21, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-22
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
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.
What to do
- Apply the vendor's security update for vite-plugin-static-copy.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | vite-plugin-static-copy |
≥ 3.0.0 < 3.1.2 |
3.1.2 |
npm install vite-plugin-static-copy@3.1.2 |
| npm | vite-plugin-static-copy |
≥ 0.4.3 < 2.3.2 |
2.3.2 |
npm install vite-plugin-static-copy@2.3.2 |
Per OSV / GitHub Advisories (GHSA-pp7p-q8fx-2968). Check the version in your lockfile before upgrading.
Affected products
- sapphi-red · vite-plugin-static-copy
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.