Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. vite-plugin-static-copy
  4. ›
  5. CVE-2025-57753

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

August 21, 2025

Files not included in src was possible to access with a crafted request.

References

  • github.com/advisories/GHSA-pp7p-q8fx-2968
  • github.com/sapphi-red/vite-plugin-static-copy
  • github.com/sapphi-red/vite-plugin-static-copy/commit/0bc6b49ed72b46eecfc9682045f4b46a19694969
  • github.com/sapphi-red/vite-plugin-static-copy/commit/4627afb8582083eab733881d3d974e1c1f23997d
  • github.com/sapphi-red/vite-plugin-static-copy/releases/tag/vite-plugin-static-copy%402.3.2
  • github.com/sapphi-red/vite-plugin-static-copy/releases/tag/vite-plugin-static-copy%403.1.2
  • github.com/sapphi-red/vite-plugin-static-copy/security/advisories/GHSA-pp7p-q8fx-2968
  • nvd.nist.gov/vuln/detail/CVE-2025-57753

Code Behaviors & Features

Detect and mitigate CVE-2025-57753 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 0.4.3 before 2.3.2, all versions starting from 3.0.0 before 3.1.2

Fixed versions

  • 3.1.2
  • 2.3.2

Solution

Upgrade to versions 2.3.2, 3.1.2 or above.

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

npm/vite-plugin-static-copy/CVE-2025-57753.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 23 Aug 2025 00:19:58 +0000.