CVE-2026-118257

GHSA-83rm-6c8r-g728 · published 28 Oct 2026 · updated 29 Oct 2026

Vue I18n: escapeParameter does not prevent XSS through srcdoc in translation messages

7.2HighCVSS 7.2EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in @intlify/core 11.4.14, @intlify/core 12.0.0-alpha.5, @intlify/core-base 12.0.0-alpha.5 and 9 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
intlify=9.14.5, >=11.1.10 <11.4.14, =10.0.8, >=12.0.0-alpha.4 <12.0.0-alpha.5
npm: @intlify/core>=11.1.10 <11.4.14, =10.0.8, =12.0.0-alpha.4, =9.14.511.4.14, 12.0.0-alpha.5
npm: @intlify/core-base=10.0.8, =12.0.0-alpha.4, =9.14.5, >=11.1.10 <11.4.1412.0.0-alpha.5, 11.4.14
npm: @intlify/shared=9.14.5, =10.0.8, =12.0.0-alpha.4, >=11.1.10 <11.4.1412.0.0-alpha.5, 11.4.14
npm: @intlify/vue-i18n-core=10.0.8, =12.0.0-alpha.4, =9.14.5, >=11.1.10 <11.4.1412.0.0-alpha.5, 11.4.14
npm: petite-vue-i18n=10.0.8, =12.0.0-alpha.4, =9.14.5, >=11.1.10 <11.4.1412.0.0-alpha.5, 11.4.14
npm: vue-i18n=10.0.8, =12.0.0-alpha.4, =9.14.5, >=11.1.10 <11.4.1412.0.0-alpha.5, 11.4.14

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in @intlify/core (npm), strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-118257 severity on Zeptric[![CVE-2026-118257](https://zeptric.io/badge/cve/CVE-2026-118257.svg)](https://zeptric.io/cve/CVE-2026-118257)