Summary
CVE-2026-106107 is an HTML/markup injection vulnerability in the Quasar Framework’s @quasar/app-vite build tooling, affecting server-side rendering (SSR) and static site generation (SSG) output. Multiple rendering paths interpolate the ssrContext.nonce value directly into quoted HTML attributes without sanitization, allowing an attacker-influenced nonce value to break out of the attribute and inject additional markup into the rendered page. The issue carries a CVSS v4.0 base score of 8.3 (High).
Technical details
- Root cause: Several
@quasar/app-viteSSR/SSG rendering paths — including development and production SSR, SSG output, critical CSS injection, store-state script tags, and Vue Devtools integration — writessrContext.noncedirectly into quoted HTML attributes without escaping or validating its contents. - Trigger conditions: Exploitation requires an application to derive or override the nonce value from a source an attacker can influence (e.g., request data or another untrusted input) rather than using a properly generated cryptographic nonce. Applications that only ever assign cryptographically generated base64/base64url nonces are not affected, since those formats cannot contain the quote/delimiter characters needed to break out of the attribute.
- Attack vector: Network — exploitation occurs through the rendered HTML response served to clients, requiring no prior authentication but depending on application-level attack complexity (an attacker must be able to influence the nonce source).
- Impact: A successful attack lets the attacker terminate the nonce attribute and inject additional HTML attributes or markup into the server-rendered or statically generated page, which can lead to cross-site scripting (XSS) or other HTML injection effects against users of the affected application.
Affected software
quasar(Quasar Framework core): versions prior to 2.23.4@quasar/app-vite: versions prior to 3.3.0
Severity
- CVSS v4.0 Base Score: 8.3 (High)
- Vector:
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N - Associated weaknesses: CWE-79 (Improper Neutralization of Input During Web Page Generation / Cross-site Scripting), CWE-116 (Improper Encoding or Escaping of Output)
Mitigation and recommended actions
- Immediate: Upgrade
@quasar/app-viteto version 3.3.0 or later (and thequasarpackage to 2.23.4 or later), which centralizes nonce handling across all affected rendering paths, validates that nonce values are non-empty base64/base64url strings, and HTML-encodes the value before it is written into attributes. - If immediate patching is not possible: Ensure any custom nonce value used in SSR/SSG rendering is generated exclusively via a cryptographically secure base64 or base64url random generator, and never derived from or overridden by request data or other attacker-influenced input, since such values cannot contain the delimiter characters required to break out of the attribute context.

