CVE-2025-57753
BaseFortify
Publication date: 2025-08-21
Last updated on: 2025-08-22
Assigner: GitHub, Inc.
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| 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 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.