@quasar/app-vite is vulnerable to Path Traversal
47
Medium Risk
During a static site generation build, @quasar/app-vite joins the custom dir and filename values returned by getSsgPages() to build.distDir without verifying that the final destination stays inside the distribution directory. A page definition using parent-directory traversal, or a symlink below the output directory, can cause generated HTML files and directories to be created outside build.distDir. Existing files are protected by no-overwrite behavior, but new files and directories can be written with the build user's permissions when page definitions come from untrusted content. The fix resolves each destination against the real output directory and rejects absolute or parent-traversing paths.
You are affected if you are using a version that falls within the vulnerable range and you run static site generation with page definitions derived from untrusted or externally influenced content.
@quasar/app-vite is vulnerable to Path Traversal in versions 3.1.0 - 3.2.0.
Upgrade the @quasar/app-vite library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant