Skip to content
Threat Feed
high advisory

Quasar Framework App Vite SSR and SSG Nonce Attribute Injection

The @quasar/app-vite package (<= 3.2.0) is vulnerable to attribute injection in SSR and SSG renderer paths where unsanitized nonce values can be used to inject arbitrary HTML attributes.

CVE search metadata

CVE search record: CVE-2026-106107. KEV: no. Product: app-vite (<= 3.2.0). Brief: Quasar Framework App Vite SSR and SSG Nonce Attribute Injection. Brief link: https://feed.craftedsignal.io/briefs/2026-10-quasar-app-vite-nonce-injection/

The Quasar Framework package @quasar/app-vite is susceptible to an attribute injection vulnerability (CVE-2026-106107) within its server-side rendering (SSR) and static site generation (SSG) processes. The vulnerability exists because the ssrContext.nonce variable is interpolated directly into HTML attributes without adequate validation or sanitization. If a web application utilizing this framework allows untrusted user-supplied data to influence or override the ssrContext.nonce field, an attacker can provide a string containing quote characters (e.g., " or ') to terminate the attribute prematurely and inject additional malicious HTML attributes or markup. While cryptographically standard base64/base64url nonces are inherently safe, the lack of programmatic constraints on this input field enables potential cross-site scripting (XSS) or DOM-based injection scenarios in misconfigured applications.

Impact

Successful exploitation of this vulnerability allows an attacker to inject arbitrary HTML attributes or elements into the rendered output of a Quasar application. Depending on the application's implementation and the injected content, this could lead to the execution of unauthorized JavaScript, manipulation of DOM structure, or the bypass of Content Security Policy (CSP) protections if the nonce mechanism is compromised. The vulnerability affects all versions of @quasar/app-vite up to and including 3.2.0.

Recommendation

  • Update @quasar/app-vite to the latest version that implements centralized nonce handling, which enforces strict base64/base64url validation and HTML encoding of the nonce attribute.
  • Audit existing applications using the Quasar framework to ensure that no untrusted user input is being passed into ssrContext.nonce within the server-side rendering configuration.
  • Implement a robust Content Security Policy (CSP) that does not rely solely on dynamically generated nonces from potentially unsafe inputs if the application architecture cannot guarantee input sanitization.

Mitigations

Upgrade app-vite to 3.3.0 or later

immediate IT Operations

CVE-2026-106107