Description
The Cloudflare Vite plugin enables a full-featured integration between Vite and the Workers runtime. When utilising the Cloudflare Vite plugin in its default configuration, all files are exposed by the local dev server, including files in the root directory that contain secret information such as .env and .dev.vars. This vulnerability is fixed in 1.6.0.
Problem types
CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
Product status
References
github.com/...rs-sdk/security/advisories/GHSA-4pfg-2mw5-f8jx
github.com/...ommit/0e500720bf70016fa4ea21fc8959c4bd764ebc38
github.com/cloudflare/workers-sdk/discussions/3455