@quasar/app-vite: Quasar Framework: App Vite SSR and SSG nonce attributes are not safely constrained
What fixes it
- 3.3.0@quasar/app-vite, npmGitHub
npm install @quasar/app-vite@3.3.0
A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.
Description
Several @quasar/app-vite SSR and SSG renderer paths interpolate ssrContext.nonce directly into quoted HTML attributes. An application that derives or overrides the nonce using untrusted data can allow a quote to terminate the nonce attribute and inject additional attributes or markup into generated HTML.
Cryptographically generated base64 or base64url nonces are not directly affected because they do not contain HTML attribute delimiters. Exploitation requires an application to place attacker-controlled or otherwise unsafe data in ssrContext.nonce.
The remediation centralizes nonce handling across development SSR/SSG, production SSR, production SSG, critical CSS, store-state scripts, and Vue Devtools. It validates the value as a non-empty base64/base64url CSP nonce and HTML-encodes the attribute value before rendering.
Text from GitHub Advisory Database
Affected versions 4
- @quasar/app-vite, npm<= 3.2.0GitHub
- quasaraffected: < 2.23.4CVE List
- app-viteaffected: < 3.3.0CVE List
- @quasar/app-vite, npmfrom first release, fixed in 3.3.0OSV
References 5
- github.com/quasarframework/quasar/commit/91271c38859bec51e154b60c24497a637ce903d7Fixvia CVE List
- github.com/quasarframework/quasar/releases/tag/@quasar/app-vite-v3.3.0Fixvia CVE List
- github.com/quasarframework/quasar/security/advisories/GHSA-5m6h-8g35-p3m7Advisoryvia CVE List
- github.com/advisories/GHSA-5m6h-8g35-p3m7Advisoryvia GitHub
- nvd.nist.gov/vuln/detail/CVE-2026-106107Referencevia GitHub