CVE-2026-144408: Vue I18n: sanitizeTranslatedHtml bypass via unterminated attribute values

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.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 translation is rendered as HTML during SSR, the browser continues tokenizing the value into later page markup, closes it at a later quote, and emits the element with the executable URL. This can cause stored XSS in the application origin, including an iframe variant that needs no user interaction. Client-only innerHTML fragment parsing is not affected because the incomplete tag is dropped at the end of the fragment. This issue is fixed in versions 11.4.19 and 12.0.0-alpha.10.

Affected Software

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

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.19
  2. Upgrade

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

    Fixed in 12.0.0-alpha.10

Event History

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

Frequently Asked Questions

1

Which deployments are exposed to this issue?

Applications using the affected Vue I18n versions are exposed when escapeParameter is enabled, attacker-controlled translation content can end with an unterminated href or src attribute value, and the translation is rendered as HTML during server-side rendering (SSR). Client-only rendering through innerHTML fragment parsing is not affected.

2

What does an attacker need to exploit the vulnerability?

An attacker needs a way to control stored translation content and have it rendered as HTML during SSR. The malicious translation must use an unterminated href or src attribute value containing a javascript: URL; the browser may continue parsing into later page markup until it finds a closing quote.

3

Is user interaction required for exploitation?

Not necessarily. The advisory describes an iframe variant that requires no user interaction.

4

What should be done if an affected version is in use?

Upgrade to Vue I18n 11.4.19 or 12.0.0-alpha.10. Until upgrading, avoid rendering attacker-controlled translations as HTML during SSR, particularly where escapeParameter is enabled.

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