CVE-2026-144406: vue-i18n escapeParameter sanitizer leaves elements open, so a translation can change how the rest of an SSR page is parsed

Published Dec 3, 2026
·
Updated

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.

Affected Software

1 affected component
npm/vue-i18n=9.14.5, =10.0.8, >=11.1.10<11.4.22, >=12.0.0-alpha.4<12.0.0-alpha.13

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 11.4.22
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 12.0.0-alpha.13

Event History

Dec 3, 2026
CVE Published
via MITRE·07:43 PM
Data Sourced
via MITRE·07:43 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed?

Only server-side rendering deployments are affected. Client-only fragment rendering is not affected; exposure also requires escapeParameter to be enabled and an attacker-controlled translation to be rendered.

2

What must be present for this to lead to script execution?

The attacker-controlled translation must manipulate the parser state so that a later inline script is parsed in the attacker-selected context. That script must contain attacker-controlled data, have no intervening element that exits SVG parsing, and character-reference decoding must allow the data to terminate a JavaScript string.

3

What can happen if the conditions for script execution are not met?

An attacker may still alter how later markup is parsed. This can hide the page, capture later form controls, or cause subsequent content to be absorbed into an open HTML, SVG, or MathML element.

4

Which versions contain the fix?

The issue is fixed in version 11.4.22 and 12.0.0-alpha.13.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203