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

- Severity: High 7.2 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.29%, higher than 22% of CVEs (2026-12-01)
- Published: 2026-10-28T18:23:49.400Z
- Modified: 2026-10-29T21:17:15.557Z
- Also known as: GHSA-83rm-6c8r-g728
- Weaknesses: CWE-79, CWE-116
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- 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
- vue-i18n (npm): 9.14.5; 10.0.8; from 11.1.10 before 11.4.14; from 12.0.0-alpha.4 before 12.0.0-alpha.5
- petite-vue-i18n (npm): 9.14.5; 10.0.8; from 11.1.10 before 11.4.14; from 12.0.0-alpha.4 before 12.0.0-alpha.5
- @intlify/core-base (npm): 9.14.5; 10.0.8; from 11.1.10 before 11.4.14; from 12.0.0-alpha.4 before 12.0.0-alpha.5
- @intlify/core (npm): 9.14.5; 10.0.8; from 11.1.10 before 11.4.14; from 12.0.0-alpha.4 before 12.0.0-alpha.5
- @intlify/vue-i18n-core (npm): 9.14.5; 10.0.8; from 11.1.10 before 11.4.14; from 12.0.0-alpha.4 before 12.0.0-alpha.5
- @intlify/shared (npm): 9.14.5; 10.0.8; from 11.1.10 before 11.4.14; from 12.0.0-alpha.4 before 12.0.0-alpha.5

## Every score

- GitHub_M: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N`

## References

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

## Sources

- CVE List: [CVE-2026-118257](https://www.cve.org/CVERecord?id=CVE-2026-118257), CVE Terms of Use, modified 2026-10-29
- GitHub Advisory Database: [GHSA-83rm-6c8r-g728](https://github.com/advisories/GHSA-83rm-6c8r-g728), CC-BY-4.0, modified 2026-10-28
- NVD: [CVE-2026-118257](https://nvd.nist.gov/vuln/detail/CVE-2026-118257), Public domain, modified 2026-10-29

---

Page: https://cve.day/CVE-2026-118257 · Whole record: https://cve.day/CVE-2026-118257.json · Rebuilt by cve.day 2026-11-25T22:59:47.667Z
