vue-i18n escapeParameter sanitizer leaves elements open, so a translation can change how the rest of an SSR page is parsed
- CVE-2026-144406
- EUVD-2026-143703
Description
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.22 and 12.0.0-alpha.4 until 12.0.0-alpha.13, sanitizeTranslatedHtml() in packages/shared/src/sanitize.ts does not track the HTML element stack when escapeParameter is enabled. During SSR, an attacker-controlled translation can leave HTML, SVG, or MathML elements open, or close elements outside the translation, causing later page markup to be parsed in the attacker-selected context. Script execution requires a later inline script whose text contains attacker-controlled data and no intervening element that leaves SVG parsing; character-reference decoding can then let the data terminate a JavaScript string and execute in the application origin. Otherwise, the manipulated parser state can hide the page, capture later form controls, or absorb subsequent content. Client-only fragment rendering is not affected. This issue is fixed in versions 11.4.22 and 12.0.0-alpha.13.
Text from the CVE.org record.
Recommendation
No source states a fixed version. Check the vendor advisory.
Affected
intlify vue-i18n
Affected versions Fixed in = 9.14.5 none stated = 10.0.8 none stated >= 11.1.10, < 11.4.22 none stated >= 12.0.0-alpha.4, < 12.0.0-alpha.13 none stated
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.