Skip to content
Heist/ feed
Back to feed
MediumFix available

Quasar Framework: App Vite SSG page output paths can escape the configured distribution directory

Type: advisorySources: OSV

## Summary During an SSG build, page definitions returned by `getSsgPages()` can provide custom `dir` and `filename` values. The builder joined those values to `build.distDir` and wrote the generated page without verifying that the final destination remained inside the distribution directory. ## Details A page definition containing parent-directory traversal could cause the build to create a new HTML file outside `build.distDir`. An existing symlink below the distribution directory could also redirect a generated file or newly created directories outside the output tree. Quasar application configuration and SSG page definitions are trusted input by default, so this is not normally a remote file-write primitive. The issue becomes relevant when an application derives SSG page definitions from external or otherwise untrusted content, or when build configuration is compromised. Existing files are protected by the SSG renderer's no-overwrite behavior, but new files and directories can be created with the permissions of the build user. ## Impact An attacker able to influence an application's SSG page definitions could create files outside the intended build output directory during `quasar build -m ssg`. ## Remediation Resolve each page destination against the real `build.distDir`, reject absolute and parent-traversing paths, reject destinations that resolve to the output root where a file is expected, and verify existing ancestors after resolving symlinks.

Products
@quasar/app-vite
Affected versions
Not specified
Fixed versions
3.3.0
CVEs
CVE-2026-106108
Confirmed fixed CVEs
Not specified
Updated in this feed
28 Oct 2026, 05:06 UTC · Revision 1

Source evidence

Quasar Framework: App Vite SSG page output paths can escape the configured distribution directory

core-osv · Original source

Published 7 Oct 2026, 16:14 UTC

## Summary During an SSG build, page definitions returned by `getSsgPages()` can provide custom `dir` and `filename` values. The builder joined those values to `build.distDir` and wrote the generated page without verifying that the final destination remained inside the distribution directory. ## Details A page definition containing parent-directory traversal could cause the build to create a new HTML file outside `build.distDir`. An existing symlink below the distribution directory could also redirect a generated file or newly created directories outside the output tree. Quasar application configuration and SSG page definitions are trusted input by default, so this is not normally a remote file-write primitive. The issue becomes relevant when an application derives SSG page definitions from external or otherwise untrusted content, or when build configuration is compromised. Existing files are protected by the SSG renderer's no-overwrite behavior, but new files and directories can be created with the permissions of the build user. ## Impact An attacker able to influence an application's SSG page definitions could create files outside the intended build output directory during `quasar build -m ssg`. ## Remediation Resolve each page destination against the real `build.distDir`, reject absolute and parent-traversing paths, reject destinations that resolve to the output root where a file is expected, and verify existing ancestors after resolving symlinks.

osv:GHSA-vhhq-m2gm-rwc9

@quasar/app-vite

Fixed versions: 3.3.0

Complete source record
{
  "id": "ccfdb6964e9dec7636030c1b2c7617530880c31368a3a9e4cc35fce24a2da0f0",
  "url": "https://osv.dev/vulnerability/GHSA-vhhq-m2gm-rwc9",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Quasar Framework: App Vite SSG page output paths can escape the configured distribution directory",
    "summary": "## Summary During an SSG build, page definitions returned by `getSsgPages()` can provide custom `dir` and `filename` values. The builder joined those values to `build.distDir` and wrote the generated page without verifying that the final destination remained inside the distribution directory. ## Details A page definition containing parent-directory traversal could cause the build to create a new HTML file outside `build.distDir`. An existing symlink below the distribution directory could also redirect a generated file or newly created directories outside the output tree. Quasar application configuration and SSG page definitions are trusted input by default, so this is not normally a remote file-write primitive. The issue becomes relevant when an application derives SSG page definitions from external or otherwise untrusted content, or when build configuration is compromised. Existing files are protected by the SSG renderer's no-overwrite behavior, but new files and directories can be created with the permissions of the build user. ## Impact An attacker able to influence an application's SSG page definitions could create files outside the intended build output directory during `quasar build -m ssg`. ## Remediation Resolve each page destination against the real `build.distDir`, reject absolute and parent-traversing paths, reject destinations that resolve to the output root where a file is expected, and verify existing ancestors after resolving symlinks.",
    "evidence": "osv:GHSA-vhhq-m2gm-rwc9",
    "products": [
      {
        "name": {
          "value": "@quasar/app-vite",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "3.3.0",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "GHSA-vhhq-m2gm-rwc9",
      "aliases": [
        "CVE-2026-106108",
        "GHSA-vhhq-m2gm-rwc9"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:A/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "SEMVER",
              "events": [
                {
                  "introduced": "3.1.0"
                },
                {
                  "fixed": "3.3.0"
                }
              ]
            }
          ],
          "package": {
            "name": "@quasar/app-vite",
            "purl": "pkg:npm/%40quasar/app-vite",
            "ecosystem": "npm"
          },
          "database_specific": {
            "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-vhhq-m2gm-rwc9/GHSA-vhhq-m2gm-rwc9.json",
            "last_known_affected_version_range": "<= 3.2.0"
          }
        }
      ],
      "modified": "2026-10-07T16:30:05.303020020Z",
      "provider": "osv",
      "references": [
        "https://github.com/quasarframework/quasar/security/advisories/GHSA-vhhq-m2gm-rwc9",
        "https://github.com/quasarframework/quasar/commit/cdd4daeec839215540221122763c7a17cd478abc",
        "https://github.com/quasarframework/quasar",
        "https://github.com/quasarframework/quasar/releases/tag/@quasar/app-vite-v3.1.0"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-22"
        ],
        "severity": "MODERATE",
        "github_reviewed": true,
        "nvd_published_at": null,
        "github_reviewed_at": "2026-10-07T16:14:41Z"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-106108",
        "evidence": "/aliases"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 95160,
  "published_at": "2026-10-07T16:14:41+00:00"
}