# CVE-2025-57753: vite-plugin-static-copy files not included in `src` are accessible with a crafted request

- Severity: Medium 6.0 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.60%, higher than 49% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-08-21T14:53:52.000Z
- Modified: 2026-06-17T09:43:22.207Z
- Also known as: GHSA-pp7p-q8fx-2968
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- sapphi-red vite-plugin-static-copy: >= 3.0.0, < 3.1.2; >= 0.4.3, < 2.3.2
- vite-plugin-static-copy (npm): from 3.0.0 before 3.1.2; from 0.4.3 before 2.3.2

## Every score

- GitHub_M: CVSS:4.0 6.0 Medium `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`
- GitHub: CVSS:4.0 Medium `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`

## References

- <https://github.com/sapphi-red/vite-plugin-static-copy/security/advisories/GHSA-pp7p-q8fx-2968> (exploit, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-57753> (advisory)
- <https://github.com/sapphi-red/vite-plugin-static-copy/commit/0bc6b49ed72b46eecfc9682045f4b46a19694969> (web)
- <https://github.com/sapphi-red/vite-plugin-static-copy/commit/4627afb8582083eab733881d3d974e1c1f23997d> (web)
- <https://github.com/sapphi-red/vite-plugin-static-copy> (package)
- <https://github.com/sapphi-red/vite-plugin-static-copy/releases/tag/vite-plugin-static-copy%402.3.2> (web)
- <https://github.com/sapphi-red/vite-plugin-static-copy/releases/tag/vite-plugin-static-copy%403.1.2> (web)

## Sources

- CVE List: [CVE-2025-57753](https://www.cve.org/CVERecord?id=CVE-2025-57753), CVE Terms of Use, modified 2025-08-21
- GitHub Advisory Database: [GHSA-pp7p-q8fx-2968](https://github.com/advisories/GHSA-pp7p-q8fx-2968), CC-BY-4.0, modified 2025-08-21
- NVD: [CVE-2025-57753](https://nvd.nist.gov/vuln/detail/CVE-2025-57753), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-57753 · Whole record: https://cve.day/CVE-2025-57753.json · Rebuilt by cve.day 2026-11-25T22:59:03.478Z
