All vulnerabilities

npm

CVE-2026-118256

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

Severity
Low
Published
28 Oct 2026
Last changed
28 Oct 2026
Added to UpHeron
23 Nov 2026
Fixed in
11.4.14, 12.0.0-alpha.5
Exploit chance
0.5% in the next 30 daysHigher than 42% of CVEs. EPSS by FIRST, 24 Nov 2026
Weakness
Improper output encoding (CWE-116)Cross-site scripting (CWE-79)
Also known as
GHSA-8rc2-428q-7ww3
Sources
OSV.dev and GitHub

Description

When escapeParameter is enabled (escapeParameterHtml in the Legacy API), Vue I18n escapes the interpolation parameters before formatting a message. escapeParams() escapes either the list values or the named values, but not both: the two branches are joined by else. When a single call passes both, for example t(key, ['...'], { named: { ... } }), the named values reach the message without being escaped.

escapeParams() in packages/core-base/src/translate.ts (v11.4.13):

t(key, list, options) is a public overload, and TranslateOptions has a named field, so a call can carry both. The list is checked first, and the named values are then left as they are.

The translated string still goes through sanitizeTranslatedHtml() (added for CVE-2025-53892), which neutralizes event handler attributes and javascript: URLs. Other markup in the named values, such as links and forms, is inserted as is. Before the fix for GHSA-83rm-6c8r-g728, an in a named value also passes the sanitizer, and script runs.

From the GitHub Advisory Database, CC BY 4.0. Shortened; the full text is there.

Workarounds

  • Do not pass list and named values in the same call when escapeParameter is enabled.
  • Do not render translations that can contain untrusted values with v-html. Use component interpolation () instead.
Workarounds as given by the GitHub Advisory Database, CC BY 4.0.

Affected software

SoftwareAffected versions
@intlify/corenpm · osv:npm:@intlify/core
  • From 9.0.0-beta.10 before 11.4.14
  • From 12.0.0-alpha.1 before 12.0.0-alpha.5
@intlify/core-basenpm · osv:npm:@intlify/core-base
  • From 9.0.0-beta.12 before 11.4.14
  • From 12.0.0-alpha.1 before 12.0.0-alpha.5
@intlify/vue-i18n-corenpm · osv:npm:@intlify/vue-i18n-core
  • From 9.2.0-alpha.7 before 11.4.14
  • From 12.0.0-alpha.1 before 12.0.0-alpha.5
petite-vue-i18nnpm · osv:npm:petite-vue-i18n
  • From 9.2.0-alpha.7 before 11.4.14
  • From 12.0.0-alpha.1 before 12.0.0-alpha.5
vue-i18nnpm · osv:npm:vue-i18n
  • From 9.0.0-beta.5 before 11.4.14
  • From 12.0.0-alpha.1 before 12.0.0-alpha.5

About @intlify/core

Weekly downloads (npm)
1,092,427npm, 24 Nov 2026

Vulnerabilities in @intlify/core

In our list
2
Published in the last 12 months
2
Critical, last 12 months
0
High, last 12 months
1
Known exploited
0
Search the list for @intlify/core

About @intlify/core-base

Weekly downloads (npm)
5,059,345npm, 24 Nov 2026

Vulnerabilities in @intlify/core-base

In our list
2
Published in the last 12 months
2
Critical, last 12 months
0
High, last 12 months
1
Known exploited
0
Search the list for @intlify/core-base

About @intlify/vue-i18n-core

Weekly downloads (npm)
5,230npm, 24 Nov 2026

Vulnerabilities in @intlify/vue-i18n-core

In our list
2
Published in the last 12 months
2
Critical, last 12 months
0
High, last 12 months
1
Known exploited
0
Search the list for @intlify/vue-i18n-core

References