@quasar/app-vite is vulnerable to Path Traversal
47
CVE Score
Medium
Path Traversal
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.
Upgrade the @quasar/app-vite library to the patch version.
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.
3.1.0 - 3.2.0
Fixed in 3.3.0@quasar/app-vite is vulnerable to Path Traversal in versions 3.1.0 - 3.2.0.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.