Vulnerability · Published Oct 28, 2026 · Assigned by GitHub_M

CVE-2026-118257Vue I18n: escapeParameter does not prevent XSS through srcdoc in translation messages

High 7.2

In plain English

A high-severity cross-site scripting in vue-i18n from intlify. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 20% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.2High
Exploit odds (30 days)0.3%top 80.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

Vue I18n is the internationalization plugin for Vue.js. From 11.1.10 until 11.4.14 and from 12.0.0-alpha.4 until 12.0.0-alpha.5, sanitizeTranslatedHtml() escapes markup and event-handler text inside an iframe srcdoc value but leaves the srcdoc attribute active. Browsers decode the character references and parse the value as a same-origin nested HTML document, allowing attacker-controlled parameters or translation content placed in srcdoc to execute script when applications enable escapeParameter and render translations as HTML through v-html. Versions 9.14.5 and 10.0.8 are also affected and are no longer supported, while i18n-t rendering is not affected. This issue is fixed in versions 11.4.14 and 12.0.0-alpha.5.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npm@intlify/coreno fix listedGHSA-83rm-6c8r-g728
npm@intlify/core12.0.0-alpha.5GHSA-83rm-6c8r-g728
npm@intlify/core11.4.14GHSA-83rm-6c8r-g728
npm@intlify/coreno fix listedGHSA-83rm-6c8r-g728
npm@intlify/core-baseno fix listedGHSA-83rm-6c8r-g728
npm@intlify/core-base12.0.0-alpha.5GHSA-83rm-6c8r-g728
npm@intlify/core-base11.4.14GHSA-83rm-6c8r-g728
npm@intlify/core-baseno fix listedGHSA-83rm-6c8r-g728
npm@intlify/shared12.0.0-alpha.5GHSA-83rm-6c8r-g728
npm@intlify/sharedno fix listedGHSA-83rm-6c8r-g728
npm@intlify/sharedno fix listedGHSA-83rm-6c8r-g728
npm@intlify/shared11.4.14GHSA-83rm-6c8r-g728
npm@intlify/vue-i18n-coreno fix listedGHSA-83rm-6c8r-g728
npm@intlify/vue-i18n-core12.0.0-alpha.5GHSA-83rm-6c8r-g728
npm@intlify/vue-i18n-core11.4.14GHSA-83rm-6c8r-g728
npm@intlify/vue-i18n-coreno fix listedGHSA-83rm-6c8r-g728
npmpetite-vue-i18nno fix listedGHSA-83rm-6c8r-g728
npmpetite-vue-i18n12.0.0-alpha.5GHSA-83rm-6c8r-g728
npmpetite-vue-i18n11.4.14GHSA-83rm-6c8r-g728
npmpetite-vue-i18nno fix listedGHSA-83rm-6c8r-g728
npmvue-i18nno fix listedGHSA-83rm-6c8r-g728
npmvue-i18nno fix listedGHSA-83rm-6c8r-g728
npmvue-i18n11.4.14GHSA-83rm-6c8r-g728
npmvue-i18n12.0.0-alpha.5GHSA-83rm-6c8r-g728

Affected products (as reported)

VendorProductVersions
intlify vue-i18n = 9.14.5= 10.0.8>= 11.1.10, < 11.4.14>= 12.0.0-alpha.4, < 12.0.0-alpha.5

Weakness: CWE-79, CWE-116 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N

References