Vue I18n: sanitizeTranslatedHtml bypass via unterminated attribute values
- CVE-2026-144408
- GHSA-9qc3-h48f-7h96
- EUVD-2026-143669
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.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.
Text from the CVE.org record.
Recommendation
@intlify/core
- If you run 12.0.xupdate to 12.0.0-alpha.10 or laterPatch update: breaking changes are unlikely@intlify/core 12.0.0-alpha.10 on its registry (opens in a new tab)
- If you run a version from 11.1.10 to before 11.4.19update to 11.4.19 or laterMinor version change: check the release notes@intlify/core 11.4.19 on its registry (opens in a new tab)
@intlify/core-base
- If you run 12.0.xupdate to 12.0.0-alpha.10 or laterPatch update: breaking changes are unlikely@intlify/core-base 12.0.0-alpha.10 on its registry (opens in a new tab)
- If you run a version from 11.1.10 to before 11.4.19update to 11.4.19 or laterMinor version change: check the release notes@intlify/core-base 11.4.19 on its registry (opens in a new tab)
@intlify/shared
- If you run 12.0.xupdate to 12.0.0-alpha.10 or laterPatch update: breaking changes are unlikely@intlify/shared 12.0.0-alpha.10 on its registry (opens in a new tab)
- If you run a version from 11.1.10 to before 11.4.19update to 11.4.19 or laterMinor version change: check the release notes@intlify/shared 11.4.19 on its registry (opens in a new tab)
@intlify/vue-i18n-core
- If you run 12.0.xupdate to 12.0.0-alpha.10 or laterPatch update: breaking changes are unlikely@intlify/vue-i18n-core 12.0.0-alpha.10 on its registry (opens in a new tab)
- If you run a version from 11.1.10 to before 11.4.19update to 11.4.19 or laterMinor version change: check the release notes@intlify/vue-i18n-core 11.4.19 on its registry (opens in a new tab)
petite-vue-i18n
- If you run 12.0.xupdate to 12.0.0-alpha.10 or laterPatch update: breaking changes are unlikelypetite-vue-i18n 12.0.0-alpha.10 on its registry (opens in a new tab)
- If you run a version from 11.1.10 to before 11.4.19update to 11.4.19 or laterMinor version change: check the release notespetite-vue-i18n 11.4.19 on its registry (opens in a new tab)
vue-i18n
- If you run 12.0.xupdate to 12.0.0-alpha.10 or laterPatch update: breaking changes are unlikelyvue-i18n 12.0.0-alpha.10 on its registry (opens in a new tab)
- If you run a version from 11.1.10 to before 11.4.19update to 11.4.19 or laterMinor version change: check the release notesvue-i18n 11.4.19 on its registry (opens in a new tab)
Taken from the version ranges the sources state. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
intlify vue-i18n
Affected versions Fixed in = 9.14.5 none stated = 10.0.8 none stated >= 11.1.10, < 11.4.19 none stated >= 12.0.0-alpha.4, < 12.0.0-alpha.10 none stated @intlify/corenpm
Affected versions Fixed in from 12.0.0-alpha.4 to before 12.0.0-alpha.10 12.0.0-alpha.10 from 11.1.10 to before 11.4.19 11.4.19 @intlify/core-basenpm
Affected versions Fixed in from 12.0.0-alpha.4 to before 12.0.0-alpha.10 12.0.0-alpha.10 from 11.1.10 to before 11.4.19 11.4.19 @intlify/sharednpm
Affected versions Fixed in from 12.0.0-alpha.4 to before 12.0.0-alpha.10 12.0.0-alpha.10 from 11.1.10 to before 11.4.19 11.4.19 @intlify/vue-i18n-corenpm
Affected versions Fixed in from 12.0.0-alpha.4 to before 12.0.0-alpha.10 12.0.0-alpha.10 from 11.1.10 to before 11.4.19 11.4.19 petite-vue-i18nnpm
Affected versions Fixed in from 12.0.0-alpha.4 to before 12.0.0-alpha.10 12.0.0-alpha.10 from 11.1.10 to before 11.4.19 11.4.19 vue-i18nnpm
Affected versions Fixed in from 12.0.0-alpha.4 to before 12.0.0-alpha.10 12.0.0-alpha.10 from 11.1.10 to before 11.4.19 11.4.19
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.