vue-i18n: Vue I18n: `escapeParameter` does not escape named values when the same call also passes a list
What fixes it
No source in this snapshot names a fixed version. The vendor advisories under References are the place to check.
Description
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.
Text from CVE List
Affected versions 2
- vue-i18naffected: >= 9.0.0-beta.5, < 11.4.14CVE List
- vue-i18naffected: >= 12.0.0-alpha.1, < 12.0.0-alpha.5CVE List