Intel

AIKIDO-2026-204881

@quasar/app-vite is vulnerable to Path Traversal

Path TraversalGHSA-vhhq-m2gm-rwc9 Published 4 days ago

47

Medium Risk

This Affects:

JS@quasar/app-vite
3.1.0 - 3.2.0
Fixed in 3.3.0
Are you affected? Scan for Free

TL;DR

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.

Who does this affect?

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.

Background info

@quasar/app-vite is vulnerable to Path Traversal in versions 3.1.0 - 3.2.0.

How to fix this

Upgrade the @quasar/app-vite library to the patch version.