CVE-2026-118257
Vue I18n: escapeParameter does not prevent XSS through srcdoc in translation messages
Also known as GHSA-83rm-6c8r-g728
Mitigation
- Upgrade vue-i18n to one of 11.4.14, 12.0.0-alpha.5 (or later in the same release line).
- Upgrade petite-vue-i18n to one of 11.4.14, 12.0.0-alpha.5 (or later in the same release line).
- Upgrade @intlify/core-base to one of 11.4.14, 12.0.0-alpha.5 (or later in the same release line).
- Upgrade @intlify/core to one of 11.4.14, 12.0.0-alpha.5 (or later in the same release line).
- Upgrade @intlify/vue-i18n-core to one of 11.4.14, 12.0.0-alpha.5 (or later in the same release line).
- Upgrade @intlify/shared to one of 11.4.14, 12.0.0-alpha.5 (or later in the same release line).
Who should check
- Projects that depend on npm package vue-i18n (9.14.5)
- Projects that depend on npm package petite-vue-i18n (9.14.5)
- Projects that depend on npm package @intlify/core-base (9.14.5)
- Projects that depend on npm package @intlify/core (9.14.5)
- Projects that depend on npm package @intlify/vue-i18n-core (9.14.5)
- Projects that depend on npm package @intlify/shared (9.14.5)
- Anyone running 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
Vulnerability facts
- Affected
- vue-i18n 9.14.5; petite-vue-i18n 9.14.5; @intlify/core-base 9.14.5; @intlify/core 9.14.5; @intlify/vue-i18n-core 9.14.5; @intlify/shared 9.14.5
- Fixed in
- 11.4.14, 12.0.0-alpha.5
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 7.2 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Changed (impact reaches other components)
- Confidentiality impact: Low
- Integrity impact: Low
- Availability impact: None
- EPSS
- 0.37% chance of exploitation in 30 days (percentile 23, 2026-11-26)
- CWE
- CWE-79, CWE-116
- Modified
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| npm vue-i18n | 9.14.5 | 11.4.14, 12.0.0-alpha.5 | osv |
| npm petite-vue-i18n | 9.14.5 | 11.4.14, 12.0.0-alpha.5 | osv |
| npm @intlify/core-base | 9.14.5 | 11.4.14, 12.0.0-alpha.5 | osv |
| npm @intlify/core | 9.14.5 | 11.4.14, 12.0.0-alpha.5 | osv |
| npm @intlify/vue-i18n-core | 9.14.5 | 11.4.14, 12.0.0-alpha.5 | osv |
| npm @intlify/shared | 9.14.5 | 11.4.14, 12.0.0-alpha.5 | osv |
| 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 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-118257. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-118257.md Affected: vue-i18n 9.14.5; petite-vue-i18n 9.14.5; @intlify/core-base 9.14.5; @intlify/core 9.14.5; @intlify/vue-i18n-core 9.14.5; @intlify/shared 9.14.5 Fixed in: 11.4.14, 12.0.0-alpha.5 Steps: 1. Search this machine and project for vue-i18n (npm), petite-vue-i18n (npm), @intlify/core-base (npm), @intlify/core (npm), @intlify/vue-i18n-core (npm), @intlify/shared (npm): dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
FAQ
Is CVE-2026-118257 being exploited?
There is no confirmed exploitation: CVE-2026-118257 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.37% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-118257?
High: CVSS 7.2 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2026-118257?
vue-i18n 9.14.5; petite-vue-i18n 9.14.5; @intlify/core-base 9.14.5; @intlify/core 9.14.5; @intlify/vue-i18n-core 9.14.5; @intlify/shared 9.14.5.
Is there a fix for CVE-2026-118257?
Yes. Fixed in 11.4.14, 12.0.0-alpha.5. Upgrade vue-i18n to one of 11.4.14, 12.0.0-alpha.5 (or later in the same release line). Upgrade petite-vue-i18n to one of 11.4.14, 12.0.0-alpha.5 (or later in the same release line). Upgrade @intlify/core-base to one of 11.4.14, 12.0.0-alpha.5 (or later in the same release line). Upgrade @intlify/core to one of 11.4.14, 12.0.0-alpha.5 (or later in the same release line). Upgrade @intlify/vue-i18n-core to one of 11.4.14, 12.0.0-alpha.5 (or later in the same release line). Upgrade @intlify/shared to one of 11.4.14, 12.0.0-alpha.5 (or later in the same release line).
How do I check if I'm affected by CVE-2026-118257?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.