CVE-2026-118256

Vue I18n: escapeParameter does not escape named values when the same call also passes a list

Low published · updated · also known as GHSA-8RC2-428Q-7WW3

2.1
CVSS score out of 10 · NVD (github.com)

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.

Affected products and versions

Product / packageEcosystem / vendorVersionsFixed inSource
vue-i18n npm >= 9.0.0-beta.5, < 11.4.1411.4.14 GitHub
vue-i18n npm >= 12.0.0-alpha.1, < 12.0.0-alpha.512.0.0-alpha.5 GitHub
@intlify/core npm >= 9.0.0-beta.10, < 11.4.1411.4.14 GitHub
@intlify/core npm >= 12.0.0-alpha.1, < 12.0.0-alpha.512.0.0-alpha.5 GitHub
@intlify/core-base npm >= 9.0.0-beta.12, < 11.4.1411.4.14 GitHub
@intlify/core-base npm >= 12.0.0-alpha.1, < 12.0.0-alpha.512.0.0-alpha.5 GitHub
petite-vue-i18n npm >= 9.2.0-alpha.7, < 11.4.1411.4.14 GitHub
petite-vue-i18n npm >= 12.0.0-alpha.1, < 12.0.0-alpha.512.0.0-alpha.5 GitHub
@intlify/vue-i18n-core npm >= 9.2.0-alpha.7, < 11.4.1411.4.14 GitHub
@intlify/vue-i18n-core npm >= 12.0.0-alpha.1, < 12.0.0-alpha.512.0.0-alpha.5 GitHub

References