Snyk has a proof-of-concept or detailed explanation of how to exploit this vulnerability.
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsUpgrade @cloudflare/vite-plugin
to version 1.6.0 or higher.
@cloudflare/vite-plugin is a Cloudflare plugin for Vite
Affected versions of this package are vulnerable to Information Exposure via the dev server
process. An attacker can access sensitive files and internal project information by sending HTTP requests to the server for files such as .env
, .dev.vars
, package.json
, or README.md
.
Note: This is exploitable if the development server is exposed to a public or shared network, such as when using preview sharing tools or running the server with a public host configuration.