Summary
CVE-2026-106102 is a critical stored/reflected cross-site scripting (XSS) vulnerability in the Quasar Framework’s server-side rendering (SSR) implementation. The getHead() serializer fails to HTML-encode metadata values supplied through the useMeta() composable, allowing attacker-controlled content (e.g., a blog post title, product name, or user display name) to break out of its intended HTML context and inject executable markup into every visitor’s rendered page. The issue is rated CVSS 3.1 10.0/9.3 (Critical) and affects all Quasar SSR applications prior to version 2.22.0.
Technical details
- Root cause:
ui/src/plugins/meta/Meta.jsbuilds<title>,<meta>,<link>, and<script>head tags during SSR using plain template-literal interpolation viagetAttr()/getHead(), with no HTML-entity or quoted-attribute escaping applied to values passed throughuseMeta(). - Trigger conditions: Any user-controlled or dynamic value reaching
useMeta()(e.g., a post title, product name, excerpt, or profile/display name) that is rendered server-side can terminate the intended tag/attribute context. - Attack vector: Network — no authentication or special privileges required; exploitation relies on standard, documented
useMeta()usage patterns rather than a custom bypass. A payload such asMy Post</title><script>alert(document.cookie)</script>injected into a metadata field is enough to break out of context. - Impact: Arbitrary executable markup (including
<script>tags) is injected into the server-rendered response before client-side hydration, resulting in full client-side script execution in the application’s origin — enabling cookie/session theft, credential harvesting, account takeover, and persistent page defacement for every visitor who loads the affected page. The client-side (non-SSR) rendering path is not affected, as it uses DOM APIs that encode attributes automatically.
Affected software
- Quasar Framework (quasarframework/quasar) versions up to and including 2.21.4, when used with server-side rendering (SSR)
- Fixed in version 2.22.0
Severity
- CVSS v3.1 Base Score: 10.0 (Critical), per the CVE record
- Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N - Note: the GitHub Security Advisory (GHSA-pq96-jpmf-w254) lists the score as 9.3 (Critical) for the same vector.
Mitigation and recommended actions
- Immediate: Upgrade Quasar Framework to version 2.22.0 or later, which introduces an
escapeHtml()helper applied withingetAttr()andgetHead()to HTML-encode all meta tag content and attributes during SSR. - If immediate patching is not possible:
- Avoid passing unsanitized, user-controlled input (titles, descriptions, display names, excerpts, etc.) directly into
useMeta()in SSR contexts; HTML-encode such values manually before passing them touseMeta(). - Deploy a Content Security Policy (CSP) that restricts inline script execution to reduce the impact of any injected
<script>content. - Audit SSR-rendered pages for metadata fields sourced from user-submitted or third-party content and treat them as untrusted until patched.
- Avoid passing unsanitized, user-controlled input (titles, descriptions, display names, excerpts, etc.) directly into

