CVE-2026-118256

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

Published Oct 28, 2026 CVSS 4.0 · 2.1 Low EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

Vue I18n’s escapeParameter feature fails to escape named interpolation values when a translation call is supplied with both a list and named values. Because escapeParams() processes only the list branch, any attacker‑controlled named data is rendered verbatim as HTML. This flaw allows insertion of malicious markup, including phishing links and forms, and can enable script execution when the application renders the translation in an HTML context or when bypassing certain sanitizers. The effect is a Classic Reflected XSS that can compromise confidentiality, integrity, and availability of the web application and its users.

Affected Systems

Affected users of intlify:vue-i18n from version 9.0.0‑beta.5 through 11.4.14 and from 12.0.0‑alpha.5 (prior to the release that fixed the issue). Any project that uses these Vue I18n versions and renders translations in a browser as HTML while passing untrusted named values together with a list is vulnerable.

Risk and Exploitability

The CVSS score of 2.1 indicates low severity, and currently there is no EPSS score available; the vulnerability is not listed in the CISA KEV catalog. The likely attack vector is through front‑end code that accepts user input for translation parameters and renders the resulting string as HTML. An attacker could craft input that triggers the vulnerability by embedding malicious script or markup in named values while also supplying a list, and then accessing the affected page. Given the low CVSS and lack of exploitation data, the risk is moderate but the potential impact of XSS warrants attention.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update intlify:vue-i18n to version 11.4.14 or later (or 12.0.0‑alpha.5 and onward) where the escapeParameter bug is fixed.
  • If an upgrade is not possible immediately, disable the escapeParameter (escapeParameterHtml) option in the I18n configuration and ensure any named values are properly encoded before being passed to the translation function.
  • Implement strict input validation on any parameters that are passed to translation calls, rejecting or sanitizing any content that resembles HTML or JavaScript before it reaches the rendering stage.

Generated by OpenCVE AI on October 28, 2026 at 19:53 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-8rc2-428q-7ww3 Vue I18n: `escapeParameter` does not escape named values when the same call also passes a list
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

{'score': 4.7, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N'}

threat_severity

Moderate

Type Values Removed Values Added
First Time appeared Intlify
Intlify vue-i18n
Vendors & Products Intlify
Intlify vue-i18n
Type Values Removed Values Added
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.
Title Vue I18n: `escapeParameter` does not escape named values when the same call also passes a list
Weaknesses CWE-116
CWE-79
References
Metrics cvssV4_0

{'score': 2.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:N/VA:N/SC:N/SI:L/SA:N'}

Weaknesses
  • CWE-116

    Improper Encoding or Escaping of Output

  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Oct 30, 2026, 2:19 PM
Reserved
Oct 27, 2026, 8:13 PM
Status
Awaiting Analysis
Published
Oct 28, 2026, 7:17 PM
Modified
Oct 30, 2026, 3:16 PM
Severity
Moderate
Public date
Oct 28, 2026, 6:20 PM