CVE-2025-57753
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-08-21

Last updated on: 2025-08-22

Assigner: GitHub, Inc.

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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-08-21
Last Modified
2025-08-22
Generated
2026-05-27
AI Q&A
2025-08-21
EPSS Evaluated
2026-05-25
NVD
EUVD
Affected Vendors & Products
Showing 2 associated CPEs
Vendor Product Version / Range
sapphi-red vite-plugin-static-copy 2.3.2
sapphi-red vite-plugin-static-copy 3.1.2
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-22 The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

vite-plugin-static-copy is a plugin for Vite that allows copying files with dev server support. The vulnerability allows files that are not included in the source directory (src) to be accessed by an attacker using a specially crafted request. This means unauthorized access to files outside the intended scope is possible. The issue is fixed in versions 2.3.2 and 3.1.2.


How can this vulnerability impact me? :

This vulnerability can lead to unauthorized access to files that should not be publicly accessible. An attacker could exploit this to retrieve sensitive or private files from the server, potentially leading to information disclosure or further attacks.


What immediate steps should I take to mitigate this vulnerability?

Update vite-plugin-static-copy to version 2.3.2 or later, or 3.1.2 or later, where the vulnerability is fixed.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart