CVE-2026-144406: Vue I18n: escapeParameter sanitizer leaves elements open, so a translation can change how the rest of an SSR page is parsed
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 <template> hides the rest of the page, and an unclosed <select> takes it in. With <object><svg>, <table><svg> or <math><mi><svg>, the rest of the page is parsed as SVG, and a later inline <script> becomes an SVG script, whose character references are decoded before it runs. Text that the page puts in such a script as data, such as " in a serialized state, can then end a JavaScript string, and run in the origin of the application.
References
- github.com/advisories/GHSA-786j-gfwp-vhm5
- github.com/intlify/vue-i18n/commit/813da5eee6b755c544755d86c341c84fbbecac9f
- github.com/intlify/vue-i18n/commit/a3b3d0a8e81d2b2b7a39b197d8e359fe27e1e0af
- github.com/intlify/vue-i18n/pull/2793
- github.com/intlify/vue-i18n/releases/tag/v11.4.22
- github.com/intlify/vue-i18n/releases/tag/v12.0.0-alpha.13
- github.com/intlify/vue-i18n/security/advisories/GHSA-786j-gfwp-vhm5
- nvd.nist.gov/vuln/detail/CVE-2026-144406
Code Behaviors & Features
Detect and mitigate CVE-2026-144406 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →