CVE-2025-57753CWE-22

vite-plugin-static-copy files not included in `src` are accessible with a crafted request

Medium · published August 21, 2025

CVSS v4.0
6.0
EPSS
0%
Percentile
35.5
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
6.0 · MEDIUM
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
EPSS
0.00422 · 35.5th percentile
Weakness
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Published
2025-08-21T16:03Z
EPSS history
Timeline
  • 21 AUG 16:03Z
    vite-plugin-static-copy files not included in `src` are accessible with a crafted request
    cvelistv5