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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.2
- **CVSS:** 7.2 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.37% (percentile 23, 2026-11-28)
- **CWE:** CWE-79, CWE-116
- **Aliases:** GHSA-83rm-6c8r-g728
- **Published:** 2026-10-28T18:23:49.400Z
- **Modified:** 2026-10-29T21:17:15.557Z

## 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

## 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

- npm `vue-i18n`: affected 9.14.5; fixed 11.4.14, 12.0.0-alpha.5 (osv)
- npm `petite-vue-i18n`: affected 9.14.5; fixed 11.4.14, 12.0.0-alpha.5 (osv)
- npm `@intlify/core-base`: affected 9.14.5; fixed 11.4.14, 12.0.0-alpha.5 (osv)
- npm `@intlify/core`: affected 9.14.5; fixed 11.4.14, 12.0.0-alpha.5 (osv)
- npm `@intlify/vue-i18n-core`: affected 9.14.5; fixed 11.4.14, 12.0.0-alpha.5 (osv)
- npm `@intlify/shared`: affected 9.14.5; fixed 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)

## 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).

## Check your systems with an agent

Paste this into a coding agent:

```text
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.
```

## 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-28).

### 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.

## References

- vendor: <https://github.com/intlify/vue-i18n/security/advisories/GHSA-83rm-6c8r-g728>
- patch: <https://github.com/intlify/vue-i18n/pull/2679>
- patch: <https://github.com/intlify/vue-i18n/commit/43391d20e7c85403cb59bdb21b5d542819f54042>
- other: <https://github.com/intlify/vue-i18n/releases/tag/v11.4.14>
- other: <https://github.com/intlify/vue-i18n/releases/tag/v12.0.0-alpha.5>
- other: <https://github.com/intlify/vue-i18n>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-118257>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-83rm-6c8r-g728> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-118257> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-118257>
