Vue I18n: `escapeParameter` does not escape named values when the same call also passes a list
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in @intlify/core 12.0.0-alpha.5, @intlify/core 11.4.14, @intlify/core-base 12.0.0-alpha.5 and 7 more.
Vue I18n is the internationalization plugin for Vue.js. From 9.0.0-beta.5 until 11.4.14 and 12.0.0-alpha.5, enabling escapeParameter, called escapeParameterHtml in the Legacy API, does not escape named interpolation values when the same translation call supplies both list and named values because escapeParams() processes only the list branch. Applications that render translations as HTML and pass untrusted named values with a list can insert attacker-controlled markup, including phishing links, forms, and layout changes, and can permit script execution when combined with the srcdoc sanitizer bypass or on releases without the sanitizer. This issue is fixed in versions 11.4.14 and 12.0.0-alpha.5.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| intlify | >=12.0.0-alpha.1 <12.0.0-alpha.5, >=9.0.0-beta.5 <11.4.14 | ||
| npm: @intlify/core | >=12.0.0-alpha.1 <12.0.0-alpha.5, >=9.0.0-beta.10 <11.4.14 | 12.0.0-alpha.5, 11.4.14 | |
| npm: @intlify/core-base | >=12.0.0-alpha.1 <12.0.0-alpha.5, >=9.0.0-beta.12 <11.4.14 | 12.0.0-alpha.5, 11.4.14 | |
| npm: @intlify/vue-i18n-core | >=12.0.0-alpha.1 <12.0.0-alpha.5, >=9.2.0-alpha.7 <11.4.14 | 12.0.0-alpha.5, 11.4.14 | |
| npm: petite-vue-i18n | >=12.0.0-alpha.1 <12.0.0-alpha.5, >=9.2.0-alpha.7 <11.4.14 | 12.0.0-alpha.5, 11.4.14 | |
| npm: vue-i18n | >=12.0.0-alpha.1 <12.0.0-alpha.5, >=9.0.0-beta.5 <11.4.14 | 12.0.0-alpha.5, 11.4.14 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in @intlify/core (npm), strongest first
Embed
A live severity badge for an advisory, README or ticket