Skip to content

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

HighCVSS 7.2 EPSS 0.27%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial
Technology
Red Hat

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.

Upgrade path

7 packages: 6 fixed.

PackageAffectedFixed inStatus
intlify @intlify/core(npm) = 9.14.5; = 10.0.8; = 12.0.0-alpha.4; >= 11.1.10, < 11.4.14 +1 more 11.4.14, 12.0.0-alpha.5 Fixed
intlify @intlify/core-base(npm) = 9.14.5; = 10.0.8; = 12.0.0-alpha.4; >= 11.1.10, < 11.4.14 +1 more 11.4.14, 12.0.0-alpha.5 Fixed
intlify @intlify/shared(npm) = 9.14.5; = 10.0.8; = 12.0.0-alpha.4; >= 11.1.10, < 11.4.14 +1 more 11.4.14, 12.0.0-alpha.5 Fixed
intlify @intlify/vue-i18n-core(npm) = 9.14.5; = 10.0.8; = 12.0.0-alpha.4; >= 11.1.10, < 11.4.14 +1 more 11.4.14, 12.0.0-alpha.5 Fixed
npm petite-vue-i18n(npm) = 9.14.5; = 10.0.8; = 12.0.0-alpha.4; >= 11.1.10, < 11.4.14 +1 more 11.4.14, 12.0.0-alpha.5 Fixed
npm vue-i18n(npm) = 9.14.5; = 10.0.8; = 12.0.0-alpha.4; >= 11.1.10, < 11.4.14 +1 more 11.4.14, 12.0.0-alpha.5 Fixed
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 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
intlify vue-i18n = = 9.14.5 No fix listed
intlify vue-i18n = = 10.0.8 No fix listed
intlify vue-i18n = >= 11.1.10, < 11.4.14 No fix listed
intlify vue-i18n = >= 12.0.0-alpha.4, < 12.0.0-alpha.5 No fix listed
npm vue-i18n(npm) = 9.14.5 No fix listed
npm vue-i18n(npm) = 10.0.8 No fix listed
npm vue-i18n(npm) >= 11.1.10, < 11.4.14 11.4.14
npm vue-i18n(npm) = 12.0.0-alpha.4 No fix listed
npm petite-vue-i18n(npm) = 9.14.5 No fix listed
npm petite-vue-i18n(npm) = 10.0.8 No fix listed
npm petite-vue-i18n(npm) >= 11.1.10, < 11.4.14 11.4.14
npm petite-vue-i18n(npm) = 12.0.0-alpha.4 No fix listed
intlify @intlify/core-base(npm) = 9.14.5 No fix listed
intlify @intlify/core-base(npm) = 10.0.8 No fix listed
intlify @intlify/core-base(npm) >= 11.1.10, < 11.4.14 11.4.14
intlify @intlify/core-base(npm) = 12.0.0-alpha.4 No fix listed
intlify @intlify/core(npm) = 9.14.5 No fix listed
intlify @intlify/core(npm) = 10.0.8 No fix listed
intlify @intlify/core(npm) >= 11.1.10, < 11.4.14 11.4.14
intlify @intlify/core(npm) = 12.0.0-alpha.4 No fix listed
intlify @intlify/vue-i18n-core(npm) = 9.14.5 No fix listed
intlify @intlify/vue-i18n-core(npm) = 10.0.8 No fix listed
intlify @intlify/vue-i18n-core(npm) >= 11.1.10, < 11.4.14 11.4.14
intlify @intlify/vue-i18n-core(npm) = 12.0.0-alpha.4 No fix listed
intlify @intlify/shared(npm) = 9.14.5 No fix listed
Show 9 more
ProductAffected versionsFixed in
intlify @intlify/shared(npm) = 10.0.8 No fix listed
intlify @intlify/shared(npm) >= 11.1.10, < 11.4.14 11.4.14
intlify @intlify/shared(npm) = 12.0.0-alpha.4 No fix listed
npm vue-i18n(npm) >= 12.0.0-alpha.4, < 12.0.0-alpha.5 12.0.0-alpha.5
npm petite-vue-i18n(npm) >= 12.0.0-alpha.4, < 12.0.0-alpha.5 12.0.0-alpha.5
intlify @intlify/core-base(npm) >= 12.0.0-alpha.4, < 12.0.0-alpha.5 12.0.0-alpha.5
intlify @intlify/core(npm) >= 12.0.0-alpha.4, < 12.0.0-alpha.5 12.0.0-alpha.5
intlify @intlify/vue-i18n-core(npm) >= 12.0.0-alpha.4, < 12.0.0-alpha.5 12.0.0-alpha.5
intlify @intlify/shared(npm) >= 12.0.0-alpha.4, < 12.0.0-alpha.5 12.0.0-alpha.5

References