CVE-2025-57753
vite-plugin-static-copy is rollup-plugin-copy for Vite with dev …
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 now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/sapphi-red/vite-plugin-static-copy/security/advisories/GHSA-pp7p-q8fx-2968
- github.com/sapphi-red/vite-plugin-static-copy/commit/0bc6b49ed72b46eecfc9682045f4b46a19694
- github.com/sapphi-red/vite-plugin-static-copy/commit/4627afb8582083eab733881d3d974e1c1f239
- github.com/sapphi-red/vite-plugin-static-copy/releases/tag/vite-plugin-static-copy%402.3.2
- github.com/sapphi-red/vite-plugin-static-copy/releases/tag/vite-plugin-static-copy%403.1.2
- nvd.nist.gov/vuln/detail/CVE-2025-57753
- github.com/advisories/GHSA-pp7p-q8fx-2968
- nvd.nist.gov/vuln/detail/CVE-2025-57753
- cve.org/CVERecord?id=CVE-2025-57753
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.