{"id":"CVE-2026-118257","state":"PUBLISHED","title":"Vue I18n: escapeParameter does not prevent XSS through srcdoc in translation messages","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.","publishedAt":"2026-10-28T18:23:49.400Z","updatedAt":"2026-10-29T20:55:05.780Z","severity":{"score":7.2,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["intlify vue-i18n"],"affected":[{"vendor":"intlify","product":"vue-i18n","versions":[{"version":"= 9.14.5","status":"affected"},{"version":"= 10.0.8","status":"affected"},{"version":">= 11.1.10, < 11.4.14","status":"affected"},{"version":">= 12.0.0-alpha.4, < 12.0.0-alpha.5","status":"affected"}]}],"references":["https://github.com/intlify/vue-i18n/security/advisories/GHSA-83rm-6c8r-g728","https://github.com/intlify/vue-i18n/pull/2679","https://github.com/intlify/vue-i18n/commit/43391d20e7c85403cb59bdb21b5d542819f54042","https://github.com/intlify/vue-i18n/releases/tag/v11.4.14","https://github.com/intlify/vue-i18n/releases/tag/v12.0.0-alpha.5"],"weaknesses":["CWE-79","CWE-116"],"ingestedAt":"2026-10-29T23:14:04.755Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/118xxx/CVE-2026-118257.json","commit":"dc7676b3f67d6707e4927968546e7e0125ff7ec7","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-118257","state":"PUBLISHED","datePublished":"2026-10-28T18:23:49.400Z","dateUpdated":"2026-10-29T20:55:05.780Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-10-27T20:13:55.314Z"},"containers":{"cna":{"title":"Vue I18n: escapeParameter does not prevent XSS through srcdoc in translation messages","descriptions":[{"lang":"en","value":"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":[{"vendor":"intlify","product":"vue-i18n","versions":[{"version":"= 9.14.5","status":"affected"},{"version":"= 10.0.8","status":"affected"},{"version":">= 11.1.10, < 11.4.14","status":"affected"},{"version":">= 12.0.0-alpha.4, < 12.0.0-alpha.5","status":"affected"}]}],"references":[{"url":"https://github.com/intlify/vue-i18n/security/advisories/GHSA-83rm-6c8r-g728","name":"https://github.com/intlify/vue-i18n/security/advisories/GHSA-83rm-6c8r-g728","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/intlify/vue-i18n/pull/2679","name":"https://github.com/intlify/vue-i18n/pull/2679","tags":["x_refsource_MISC"]},{"url":"https://github.com/intlify/vue-i18n/commit/43391d20e7c85403cb59bdb21b5d542819f54042","name":"https://github.com/intlify/vue-i18n/commit/43391d20e7c85403cb59bdb21b5d542819f54042","tags":["x_refsource_MISC"]},{"url":"https://github.com/intlify/vue-i18n/releases/tag/v11.4.14","name":"https://github.com/intlify/vue-i18n/releases/tag/v11.4.14","tags":["x_refsource_MISC"]},{"url":"https://github.com/intlify/vue-i18n/releases/tag/v12.0.0-alpha.5","name":"https://github.com/intlify/vue-i18n/releases/tag/v12.0.0-alpha.5","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":7.2,"baseSeverity":"HIGH","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","lang":"en","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-116","lang":"en","description":"CWE-116: Improper Encoding or Escaping of Output","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-10-28T18:23:49.400Z"},"source":{"advisory":"GHSA-83rm-6c8r-g728","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-10-29T15:43:29.896851Z","id":"CVE-2026-118257","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-29T20:55:05.780Z"}}]}}}