Skip to main content
VulnerabilityPublished

CVE-2025-57753: sapphi-red vite-plugin-static-copy · Path Traversal

Affects sapphi-red vite-plugin-static-copySource CVE Database V5

0
Compare

Not known to be exploited · CVSS 6.0 Medium · fixed in 2.3.2 : update sapphi-red vite-plugin-static-copy when convenient.

Data as of 24 Nov 2026, 21:15 UTC

CVSS 4.0 base score
6.0Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.4% chance of exploitation in 30 days – higher than 43% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 2.3.2
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 21 Aug 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 25 Nov 2026.

What to do

AI-suggested

  1. Upgrade vite-plugin-static-copy to versions 2.3.2 or 3.1.2 or later, where the vulnerability is fixed.
  2. Review and restrict access to development and build servers, ensuring they are not exposed to untrusted networks or users.
  3. Implement strict input validation and sanitization for any requests or inputs that interact with file paths in development tools.
  4. Use containerization or isolated environments for development to limit the impact of potential file access vulnerabilities.
  5. Audit build and deployment pipelines to ensure no sensitive files are inadvertently exposed or included in publicly accessible directories.
  6. Educate developers about the risks of path traversal and the importance of using updated dependencies.
  7. Monitor network traffic and logs for unusual or crafted requests targeting development servers or build tools.
  8. Consider implementing web application firewalls (WAF) or runtime application self-protection (RASP) solutions that can detect and block path traversal attempts.

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.

References

Community reviews

Loading reviews…