CVE-2026-144408 — Vue-i18n — CWE-79
## Summary When `escapeParameter` is enabled (`escapeParameterHtml` in the Legacy API), Vue I18n passes the translated string through `sanitizeTranslatedHtml()`. The sanitizer disables `javascript:` URLs by rewriting them to `about:blank` — but only for attributes it can recognize. Both recognition passes require a well-formed attribute: the quoted pass needs the closing quote inside the message, and the unquoted pass rejects any value that starts with a quote character. A message that opens an attribute value and never closes it therefore keeps its `javascript:` URL verbatim. The HTML tokenizer, however, does not stop at the end of the message. In server-side rendering the unterminated attribute value continues into the rest of the page and closes at the next `"` in the application's own markup; the element is then emitted with the attacker's `javascript:` URL as its `src`/`href`. A `//` inside the URL comments out the swallowed page content, so the executed script is exactly attacker-controlled. An `<iframe src="javascript:...">` runs without any user interaction, in the origin of the application. ## Affected component - `sanitizeTranslatedHtml()` in `packages/shared/src/sanitize.ts` - quoted-attribute pass: `packages/shared/src/sanitize.ts` L139-148 (`/([\w:-]+)\s*=\s*"([^"]*)"/g` requires a closing quote) - unquoted-attribute pass: `packages/shared/src/sanitize.ts` L186-189 (value class `[^\s"'=<>`]+` cannot match a value starting with `"`) - Sanitization is app
## Summary When `escapeParameter` is enabled (`escapeParameterHtml` in the Legacy API), Vue I18n passes the translated string through `sanitizeTranslatedHtml()`. The sanitizer disables `javascript:` URLs by rewriting them to `about:blank` — but only for attributes it can recognize. Both recognition passes require a well-formed attribute: the quoted pass needs the closing quote inside the message, and the unquoted pass rejects any value that starts with a quote character. A message that opens an attribute value and never closes it therefore keeps its `javascript:` URL verbatim. The HTML tokenizer, however, does not stop at the end of the message. In server-side rendering the unterminated attribute value continues into the rest of the page and closes at the next `"` in the application's own markup; the element is then emitted with the attacker's `javascript:` URL as its `src`/`href`. A `//` inside the URL comments out the swallowed page content, so the executed script is exactly attacker-controlled. An `<iframe src="javascript:...">` runs without any user interaction, in the origin of the application. ## Affected component - `sanitizeTranslatedHtml()` in `packages/shared/src/sanitize.ts` - quoted-attribute pass: `packages/shared/src/sanitize.ts` L139-148 (`/([\w:-]+)\s*=\s*"([^"]*)"/g` requires a closing quote) - unquoted-attribute pass: `packages/shared/src/sanitize.ts` L186-189 (value class `[^\s"'=<>`]+` cannot match a value starting with `"`) - Sanitization is app
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CVE-2026-144408
CVSS 7.2/10 · HIGH · 03.12.2026
CWE: CWE-79
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 WHAT IS THIS VULNERABILITY?
Cross-Site Scripting (XSS)
Summary: Vue I18n is the internationalization plugin for Vue.js. In versions 9.14.5 and 10.0.8, and from 11.1.10 until 11.4.19 and 12.0.0-alpha.4 until 12.0.0-alpha.10, sanitizeTranslatedHtml() in packages/shared/src/sanitize.ts fails to inspect a javascript: URL when escapeParameter is enabled and an attacker-controlled translation ends with an unterminated href or src attribute value. When that transl…
Affected: intlify vue-i18n
⚡ ATTACK VECTOR
Network / Remote (AV:N) · no authentication required (PR:N) · no user interaction (UI:N) · low attack complexity (AC:L).
⚠️ Scope changes (S:C) — impact can cross security boundaries.
🌍 REAL WORLD IMPACT
Partial confidentiality disclosure (C:L); limited integrity modification (I:L); pivot to other systems possible.
🛡️ REMEDIATION
→ Apply vendor security update for intlify vue-i18n.
→ Add CSP headers, HTML-encode all user input.
→ Pre-patch: put service behind VPN or apply IP allowlist.
→ Add WAF rule, create IDS alert for anomalous traffic.
⚠️ URGENCY
⚠️ This week (7 days) — High risk, anonymous remote.
────────────────────────────────────────
[Automated Technical Vulnerability & CVSS Vector Analysis]
FOFA Query