CVE-2026-118257
published high CVSS 3.1 · 7.2Vue I18n: escapeParameter does not prevent XSS through srcdoc in translation messages
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| 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 | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.2 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| intlify | vue-i18n | = 9.14.5 (affected)= 10.0.8 (affected)>= 11.1.10, < 11.4.14 (affected)>= 12.0.0-alpha.4, < 12.0.0-alpha.5 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-79 CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
- CWE-116 CWE-116: Improper Encoding or Escaping of Output
References
5- https://github.com/intlify/vue-i18n/commit/43391d20e7c85403cb59bdb21b5d542819f54042
- https://github.com/intlify/vue-i18n/pull/2679
- https://github.com/intlify/vue-i18n/releases/tag/v11.4.14
- https://github.com/intlify/vue-i18n/releases/tag/v12.0.0-alpha.5
- https://github.com/intlify/vue-i18n/security/advisories/GHSA-83rm-6c8r-g728
Provider assertions
2GitHub_M · cna
Vue I18n: escapeParameter does not prevent XSS through srcdoc in translation messages
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 4c451c0e35aba723b393cabbf8d4158287523ec2c2987dec2d1ab199e0d5dd81
- Ingested
- 29 Oct 2026, 20:57:33 UTC
- Source record
- Official CVE record