Skip to content
OpenAdvisories
High · 7.2 CVE-2026-118257 EUVD-2026-112359GHSA-83rm-6c8r-g728

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

Published Oct 28, 2026 · Updated Oct 29, 2026 · Assigned by GitHub_M

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 products

VendorProductAffectedFixed
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 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm @intlify/core 9.14.5 — GHSA-83rm-6c8r-g728
npm @intlify/core 10.0.8 — GHSA-83rm-6c8r-g728
npm @intlify/core >= 11.1.10, < 11.4.14 11.4.14 GHSA-83rm-6c8r-g728
npm @intlify/core >= 12.0.0-alpha.4, < 12.0.0-alpha.5 12.0.0-alpha.5 GHSA-83rm-6c8r-g728
npm @intlify/core-base 9.14.5 — GHSA-83rm-6c8r-g728
npm @intlify/core-base 10.0.8 — GHSA-83rm-6c8r-g728
npm @intlify/core-base >= 11.1.10, < 11.4.14 11.4.14 GHSA-83rm-6c8r-g728
npm @intlify/core-base >= 12.0.0-alpha.4, < 12.0.0-alpha.5 12.0.0-alpha.5 GHSA-83rm-6c8r-g728
npm @intlify/shared 9.14.5 — GHSA-83rm-6c8r-g728
npm @intlify/shared 10.0.8 — GHSA-83rm-6c8r-g728
npm @intlify/shared >= 11.1.10, < 11.4.14 11.4.14 GHSA-83rm-6c8r-g728
npm @intlify/shared >= 12.0.0-alpha.4, < 12.0.0-alpha.5 12.0.0-alpha.5 GHSA-83rm-6c8r-g728
npm @intlify/vue-i18n-core 9.14.5 — GHSA-83rm-6c8r-g728
npm @intlify/vue-i18n-core 10.0.8 — GHSA-83rm-6c8r-g728
npm @intlify/vue-i18n-core >= 11.1.10, < 11.4.14 11.4.14 GHSA-83rm-6c8r-g728
npm @intlify/vue-i18n-core >= 12.0.0-alpha.4, < 12.0.0-alpha.5 12.0.0-alpha.5 GHSA-83rm-6c8r-g728
npm petite-vue-i18n 9.14.5 — GHSA-83rm-6c8r-g728
npm petite-vue-i18n 10.0.8 — GHSA-83rm-6c8r-g728
npm petite-vue-i18n >= 11.1.10, < 11.4.14 11.4.14 GHSA-83rm-6c8r-g728
npm petite-vue-i18n >= 12.0.0-alpha.4, < 12.0.0-alpha.5 12.0.0-alpha.5 GHSA-83rm-6c8r-g728
npm vue-i18n 9.14.5 — GHSA-83rm-6c8r-g728
npm vue-i18n 10.0.8 — GHSA-83rm-6c8r-g728
npm vue-i18n >= 11.1.10, < 11.4.14 11.4.14 GHSA-83rm-6c8r-g728
npm vue-i18n >= 12.0.0-alpha.4, < 12.0.0-alpha.5 12.0.0-alpha.5 GHSA-83rm-6c8r-g728

References