{"id":"CVE-2026-106102","revision":null,"records":[{"revision":"b07e8f9ed0ec4ed588cf73da6a01a393","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-106102","aliases":[],"title":"Quasar Framework: Stored/Reflected XSS via unescaped SSR meta tag rendering in getHead()","description":"Quasar Framework is a framework for building high-performance Vue.js user interfaces. Prior to 2.22.0, the SSR-only getHead() serializer in ui/src/plugins/meta/Meta.js used getAttr() to interpolate values supplied through useMeta() into title, meta, link, and script markup without HTML text or quoted-attribute encoding. injectServerMeta() appended that output to the raw server-rendered response. An attacker who can influence dynamic page metadata, such as a post title, product name, excerpt, or display name, can terminate the intended HTML context and inject executable markup before hydration. The client-side apply() path is not affected because it uses DOM APIs that encode attributes. This issue is fixed in version 2.22.0.","state":0,"publishedAt":"2026-10-06T17:07:55.498+00:00","modifiedAt":"2026-10-06T17:39:02.751+00:00","affected":[{"ecosystem":"Vendor product","name":"quasar","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"quasarframework\",\n                    \"product\": \"quasar\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 2.22.0\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N","score":10,"severity":"CRITICAL"}],"references":["https://github.com/quasarframework/quasar/security/advisories/GHSA-pq96-jpmf-w254","https://github.com/quasarframework/quasar/commit/11505afe5b5218f2c468f130181815b898fd1e40","https://github.com/quasarframework/quasar/releases/tag/quasar-v2.22.0"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-106102","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-106102","identifiers":["CVE-2026-106102"]},"retained":false,"historicalAffected":[]},{"revision":"cd2bb11fb30f46fc9d84b0d1b73385a7","observedAt":"2026-11-11T05:31:53.974+00:00","statement":{"source":"euvd","id":"EUVD-2026-93517","aliases":["CVE-2026-106102","GHSA-pq96-jpmf-w254"],"title":"Quasar Framework is a framework for building high-performance Vue.js user interfaces. Prior to 2.22.0, the SSR-only getHead() serializer in ui/src/plugins/meta/Meta.js used getAttr() to interpolate values supplied through useMeta() into tit…","description":"Quasar Framework is a framework for building high-performance Vue.js user interfaces. Prior to 2.22.0, the SSR-only getHead() serializer in ui/src/plugins/meta/Meta.js used getAttr() to interpolate values supplied through useMeta() into title, meta, link, and script markup without HTML text or quoted-attribute encoding. injectServerMeta() appended that output to the raw server-rendered response. An attacker who can influence dynamic page metadata, such as a post title, product name, excerpt, or display name, can terminate the intended HTML context and inject executable markup before hydration. The client-side apply() path is not affected because it uses DOM APIs that encode attributes. This issue is fixed in version 2.22.0.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N","score":10,"severity":null}],"references":["https://github.com/quasarframework/quasar/security/advisories/GHSA-pq96-jpmf-w254","https://github.com/quasarframework/quasar/commit/11505afe5b5218f2c468f130181815b898fd1e40","https://github.com/quasarframework/quasar/releases/tag/quasar-v2.22.0"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-93517","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Oct 6, 2026, 5:07:55 PM","dateUpdated":"Oct 6, 2026, 5:39:02 PM"},"relatedAdvisories":[],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2026-93517","identifiers":["EUVD-2026-93517","CVE-2026-106102","GHSA-pq96-jpmf-w254"]},"retained":false,"historicalAffected":[]},{"revision":"ce5cd06b25454bb6a2a1fc2bd9c85da5","observedAt":"2026-10-25T04:17:41.466+00:00","statement":{"source":"nvd","id":"CVE-2026-106102","aliases":[],"title":"Quasar Framework is a framework for building high-performance Vue.js user interfaces. Prior to 2.22.0, the SSR-only getHead() serializer in ui/src/plugins/meta/Meta.js used getAttr() to interpolate values supplied through useMeta() into tit…","description":"Quasar Framework is a framework for building high-performance Vue.js user interfaces. Prior to 2.22.0, the SSR-only getHead() serializer in ui/src/plugins/meta/Meta.js used getAttr() to interpolate values supplied through useMeta() into title, meta, link, and script markup without HTML text or quoted-attribute encoding. injectServerMeta() appended that output to the raw server-rendered response. An attacker who can influence dynamic page metadata, such as a post title, product name, excerpt, or display name, can terminate the intended HTML context and inject executable markup before hydration. The client-side apply() path is not affected because it uses DOM APIs that encode attributes. This issue is fixed in version 2.22.0.","state":0,"publishedAt":"2026-10-06T17:17:24.27+00:00","modifiedAt":"2026-10-06T20:03:40.69+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · security-advisories@github.com · Secondary","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N","score":10,"severity":"CRITICAL"}],"references":["https://github.com/quasarframework/quasar/commit/11505afe5b5218f2c468f130181815b898fd1e40","https://github.com/quasarframework/quasar/releases/tag/quasar-v2.22.0","https://github.com/quasarframework/quasar/security/advisories/GHSA-pq96-jpmf-w254"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-106102","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Awaiting Analysis","weaknesses":["CWE-79","CWE-116"],"productCriteria":[],"sourceDates":{"published":"2026-10-06T17:17:24.270","lastModified":"2026-10-06T20:03:40.690"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2026-106102","identifiers":["CVE-2026-106102"]},"retained":false,"historicalAffected":[]},{"revision":"91123e9e5bfa49ef84199f0bbec92dd6","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-pq96-jpmf-w254","aliases":["CVE-2026-106102"],"title":"Quasar Framework: Stored/Reflected XSS via unescaped SSR meta tag rendering in getHead()","description":"## Vulnerability Details\n\n**File**: `ui/src/utils/meta/Meta.js` — actually `ui/src/plugins/meta/Meta.js` (lines 149-176: `getAttr()` and `getHead()`)\n**Sink**: `injectServerMeta()` (same file) → `ctx.headTags += getHead(data)`, interpolated verbatim into the raw HTTP response `<head>` by the production SSR template (`app-vite/templates/entry/ssr-prod-webserver.js` + `app-vite/lib/plugins/vite.html.js`)\n**Entry point**: the public `useMeta()` composable (`ui/src/composables/use-meta/use-meta.js`) — the single documented way apps set page title/meta/link/script tags\n\n### Root Cause\n`getHead()` is Quasar's SSR-only serializer that turns the meta/link/script/title data collected from every `useMeta()` call into a literal HTML string, using plain template-literal interpolation with **zero HTML-entity escaping and zero attribute-quote escaping**:\n\n```js\nfunction getAttr(seed) {\n  return att => {\n    const val = seed[att]\n    return att + (val !== true && val !== void 0 ? `=\"${val}\"` : '')\n  }\n}\n\nfunction getHead(meta) {\n  let output = ''\n  if (meta.title) {\n    output += `<title>${meta.title}</title>`\n  }\n  ...\n}\n```\n\nContrast this with the client-side equivalent, `apply()` (same file, used only in the browser post-hydration), which builds the same tags via `document.createElement(...)` + `tag.setAttribute(att, val)` — the browser DOM API automatically escapes attribute values, so **the client-side path is not vulnerable**. `getHead()` is a separate, parallel implementation for the SSR case that never received the same protection.\n\nAny string containing `</title>`, `\"`, or `>` in a `title`, `meta.*.content`, `link.*.href`, or any other attribute value passed to `useMeta()` breaks out of its intended HTML context and injects arbitrary markup — including a live `<script>` tag — directly into the raw HTML response sent to every visitor.\n\n### Attack Scenario\n1. A Quasar SSR application renders dynamic page metadata via the standard, documented `useMeta()` pattern — e.g. `useMeta(() => ({ title: post.title, meta: { description: { name: 'description', content: post.excerpt } } }))` for a blog/CMS/product page.\n2. An attacker who can influence that underlying text (submit a blog post/comment, set their own profile display name, control a field in an integrated CMS/API) sets it to `My Post</title><script>alert(document.cookie)</script>`.\n3. On every SSR render of that page — for every visitor — `getHead()` emits this payload unescaped directly into the `<head>` of the raw HTML response.\n4. The victim's browser parses the HTML top-to-bottom; the injected `<script>` executes immediately, before hydration, with full access to `document.cookie` and the DOM.\n\n### Impact\n- **Type**: CWE-79 Cross-Site Scripting\n- **Auth required**: No (attacker only needs to influence any text that reaches `useMeta()` — an extremely common pattern, e.g. blog titles, product names, user display names)\n- **Consequence**: Full client-side script execution in the victim site's origin — session/cookie theft, credential phishing overlays, account takeover, defacement. Unlike a typical XSS bug requiring a specific unusual injection point, this affects the single most common `useMeta()` use case (rendering any dynamic title/description), so it can be triggered even by ordinary content containing `&`, `<`, or `\"` without malicious intent, in addition to being trivially exploitable deliberately.\n\n### Vulnerable Code (`ui/src/plugins/meta/Meta.js` lines 149-176)\n```js\nfunction getAttr(seed) {\n  return att => {\n    const val = seed[att]\n    return att + (val !== true && val !== void 0 ? `=\"${val}\"` : '')\n  }\n}\n\nfunction getHead(meta) {\n  let output = ''\n  if (meta.title) {\n    output += `<title>${meta.title}</title>`\n  }\n  ;['meta', 'link', 'script'].forEach(type => {\n    const metaType = meta[type]\n    for (const att in metaType) {\n      const attrs = Object.keys(metaType[att])\n        .filter(item => item !== 'innerHTML')\n        .map(getAttr(metaType[att]))\n      output += `<${type} ${attrs.join(' ')} data-qmeta=\"${att}\">`\n      if (type === 'script') {\n        output += (metaType[att].innerHTML || '') + '</script>'\n      }\n    }\n  })\n  return output\n}\n```\n\n### Recommended Fix\n```js\nfunction escapeHtml(val) {\n  return String(val)\n    .replaceAll('&', '&amp;')\n    .replaceAll('<', '&lt;')\n    .replaceAll('>', '&gt;')\n    .replaceAll('\"', '&quot;')\n}\n\nfunction getAttr(seed) {\n  return att => {\n    const val = seed[att]\n    return att + (val !== true && val !== void 0 ? `=\"${escapeHtml(val)}\"` : '')\n  }\n}\n\nfunction getHead(meta) {\n  let output = ''\n  if (meta.title) {\n    output += `<title>${escapeHtml(meta.title)}</title>`\n  }\n  // ... rest unchanged, script innerHTML intentionally left raw (JSON-LD use case)\n}\n```\n\n### Verification\nConfirmed end-to-end on v2.21.1 via a local Node.js HTTP lab harness that imports the real, unmodified `Meta.js` source and reproduces the exact `useMeta()` → `injectServerMeta()` call sequence a real SSR app performs, reached via actual `curl` requests (not just isolated function calls):\n\n1. `POST /submit` with `{\"title\":\"My Post</title><script>alert(document.cookie)</script>\",\"description\":\"\\\"><script>alert(document.domain)</script>\"}`\n2. `GET /render/1` returned a raw HTTP response whose `<head>` contained: `<title>My Post</title><script>alert(document.cookie)</script></title><meta name=\"description\" content=\"\"><script>alert(document.domain)</script>\" data-qmeta=\"description\">`\n3. Verified via `grep`: 0 occurrences of `&lt;` (nothing was escaped), 1 occurrence of a literal, unescaped `<script>alert(...)</script>` tag in the actual HTTP response body.\n\nA fix branch (`fix/xss-meta-tag-escaping`) is ready with the minimal patch above (adds an `escapeHtml()` helper used in `getAttr()`/`getHead()`); re-running the same PoC against the patched code shows the payload fully HTML-entity-encoded (`&lt;script&gt;...`) with no live `<script>` tag, while normal titles containing `&` still render correctly (`&amp;`).","state":0,"publishedAt":"2026-10-07T16:14:22+00:00","modifiedAt":"2026-10-07T16:30:06.5457418+00:00","affected":[{"ecosystem":"npm","name":"quasar","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"2.22.0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"CRITICAL"}],"references":["https://github.com/quasarframework/quasar/security/advisories/GHSA-pq96-jpmf-w254","https://nvd.nist.gov/vuln/detail/CVE-2026-106102","https://github.com/quasarframework/quasar/commit/11505afe5b5218f2c468f130181815b898fd1e40","https://github.com/quasarframework/quasar","https://github.com/quasarframework/quasar/releases/tag/quasar-v2.22.0"],"sourceUrl":"https://github.com/advisories/GHSA-pq96-jpmf-w254","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-pq96-jpmf-w254","identifiers":["GHSA-pq96-jpmf-w254","CVE-2026-106102"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-11T11:57:48.1935565+00:00","complete":true,"records":1779,"lastAttemptAt":"2026-11-11T11:57:48.1935565+00:00","lastSuccessAt":"2026-11-11T11:57:48.3425698+00:00","error":null,"lastVerifiedAt":"2026-11-11T11:57:48.3425702+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-de3b77103708811b6494d2ff7c979037d73ae579742cd1649a5c765137ae5083-08810285716c151004c67847239e44305919603a6514bf8f71e8742fea5ea4c7","complete":true,"records":424036,"lastAttemptAt":"2026-11-11T11:57:47.1356939+00:00","lastSuccessAt":"2026-11-11T11:57:47.0236846+00:00","error":null,"lastVerifiedAt":"2026-11-11T11:57:47.1356939+00:00","snapshotPublishedAt":"2026-11-11T11:23:47+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-99bdca71b3604150bbac354a4a9d8a89","complete":false,"records":13758,"lastAttemptAt":"2026-11-11T12:09:48.959833+00:00","lastSuccessAt":"2026-11-11T12:09:48.955+00:00","error":null,"lastVerifiedAt":"2026-11-11T12:09:48.955+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13489,"expectedIdentifiers":13812,"failedIdentifiers":0},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-11T11:57:48.1935565+00:00","complete":true,"records":1097,"lastAttemptAt":"2026-11-11T11:57:48.1935565+00:00","lastSuccessAt":"2026-11-11T11:57:48.3433334+00:00","error":null,"lastVerifiedAt":"2026-11-11T11:57:48.3433335+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-622dd4c770014d0cabbdd0941fabd46f","complete":true,"records":13752,"lastAttemptAt":"2026-11-11T11:57:48.9429139+00:00","lastSuccessAt":"2026-11-11T10:57:38.856+00:00","error":null,"lastVerifiedAt":"2026-11-11T10:57:38.856+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13812,"expectedIdentifiers":13812,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-3562b6c78fd1bd0f0b55daf66a0926ae24f65e462df7f6d928caad458fc696bf","complete":true,"records":9947,"lastAttemptAt":"2026-11-11T11:57:47.7728063+00:00","lastSuccessAt":"2026-11-11T04:27:43.6877707+00:00","error":null,"lastVerifiedAt":"2026-11-11T11:57:47.7728063+00:00","snapshotPublishedAt":"2026-11-11T03:32:46+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-456002455e0ab94bb92c95476d4e6d175c104cd594749982afd96c893728ecbc","complete":true,"records":2010,"lastAttemptAt":"2026-11-11T11:57:47.2778993+00:00","lastSuccessAt":"2026-11-11T02:36:58.1276999+00:00","error":null,"lastVerifiedAt":"2026-11-11T11:57:47.2778993+00:00","snapshotPublishedAt":"2026-11-11T01:17:51+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-b178858a6ba5f2e20262964fa29d9573839d1b8b735abe524cc7d061ebde5c37","complete":true,"records":3088,"lastAttemptAt":"2026-11-11T11:57:48.1551807+00:00","lastSuccessAt":"2026-11-11T10:57:37.4490966+00:00","error":null,"lastVerifiedAt":"2026-11-11T11:57:48.1551807+00:00","snapshotPublishedAt":"2026-11-11T10:48:28+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-085e065fc9050ae18408f7e722c39653aeb186872334d7b3ec1fcafb7ed43d25","complete":true,"records":231665,"lastAttemptAt":"2026-11-11T11:57:47.665155+00:00","lastSuccessAt":"2026-11-11T08:27:45.2700102+00:00","error":null,"lastVerifiedAt":"2026-11-11T11:57:47.665155+00:00","snapshotPublishedAt":"2026-11-11T07:32:59+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}