Vue I18n: escapeParameter sanitizer leaves elements open, so a translation can change how the rest of an SSR page is parsed
CVE-2026-144406
Summary When escapeParameter is enabled (escapeParameterHtml in the Legacy API), Vue I18n sanitizes the translated HTML with sanitizeTranslatedHtml(). The sanitizer reads tags in the same way as the HTML tokenizer, but it does not follow how elements open and close. An element that a translation leaves open, or an end tag that closes an element outside the translation, stays in the result. When the page is rendered on the server (SSR), the rest of the page follows the translation in the same HTML, and the browser parses it as a part of what is still open. An unclosed hides the rest of the page, and an unclosed takes it in. With , or , the rest of the page is parsed as SVG, and a later inline and are ignored while is open, so the is parsed as an SVG script, " becomes ", and alert(document.cookie) runs in the origin of the application. This was confirmed on Chromium, Chrome and WebKit with 11.4.20 and 12.0.0-alpha.11. Impact Applications are affected when they render translations as HTML on the server (SSR, including SSG and prerendering) with escapeParameter enabled, and an attacker can change the translations (for example crowdsourced or stored translations), or, before 11.4.21…
Assessment
- CVSS
- 5.4 (v3.1)
- Severity
- Medium
- EPSS
- 0% chance of exploitation in the next 30 days
- Known exploited
- Not listed in CISA KEV
- Exploit availability
- Nothing found in Exploit-DB, Metasploit, Nuclei or public PoC repositories
- Published
- 4 December 2026
- Last updated
- 4 December 2026
- Affected
- intlify · vue-i18n · vue-i18n · petite-vue-i18n · @intlify/core-base · @intlify/core
- Weakness
- CWE-116, CWE-79
- Assigner
- security-advisories@github.com
CVSS vectorCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N
At the source
References
- https://github.com/intlify/vue-i18n/security/advisories/GHSA-786j-gfwp-vhm5
- https://nvd.nist.gov/vuln/detail/CVE-2026-144406
- https://github.com/intlify/vue-i18n/pull/2793
- https://github.com/intlify/vue-i18n/commit/813da5eee6b755c544755d86c341c84fbbecac9f
- https://github.com/intlify/vue-i18n/commit/a3b3d0a8e81d2b2b7a39b197d8e359fe27e1e0af
- https://github.com/intlify/vue-i18n/releases/tag/v11.4.22
- https://github.com/intlify/vue-i18n/releases/tag/v12.0.0-alpha.13
- https://github.com/advisories/GHSA-786j-gfwp-vhm5
Community proofs of concept
No community proof of concept yet. If you have one for a published vulnerability and the right to share it, add it below — it will appear here once reviewed.
Submit a proof of concept
Only for publicly disclosed vulnerabilities, and only material from testing you were authorised to perform. This platform does not buy, sell, or broker exploits — see earning from vulnerability research for legitimate bounty programs. Submissions are reviewed before they appear. Text only; do not include live credentials, personal data, or anything targeting systems you are not permitted to test.
Query this programmatically
Agents can read this through the MCP endpoint, or over HTTP:
curl https://cve.zerocrew.in/api/cve/CVE-2026-144406