CVE-2025-53892
MEDIUM 5.3CVSS 4.0vue-i18n's escapeParameterHtml does not prevent DOM-based XSS through its tag attributes
Vue I18n is the internationalization plugin for Vue.js. The escapeParameterHtml: true option in Vue I18n is designed to protect against HTML/script injection by escaping interpolated parameters. However, starting in version 9.0.0 and prior to versions 9.14.5, 10.0.8, and 11.1.0, this setting fails to prevent execution of certain tag-based payloads, such as <img src=x onerror=...>, if the interpolated value is inserted inside an HTML context using v-html. This may lead to a DOM-based XSS vulnerability, even when using escapeParameterHtml: true, if a translation string includes minor HTML and is rendered via v-html. Versions 9.14.5, 10.0.8, and 11.1.0 contain a fix for the issue.
- Published
- 16 Jul 2025
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-79
- Also known as
- GHSA-x8qp-wqqm-57ph
- Sources
- NVDJSONOSV GHSA-x8qp-wqqm-57phJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | MEDIUM 5.3 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | vue-i18n | >= 9.0.0, < 9.14.5 | 9.14.5 |
| OSV | npm | vue-i18n | >= 10.0.0, < 10.0.8 | 10.0.8 |
| OSV | npm | vue-i18n | >= 11.0.0, < 11.1.10 | 11.1.10 |
| OSV | npm | @intlify/core | >= 9.0.0, < 9.14.5 | 9.14.5 |
| OSV | npm | @intlify/core | >= 10.0.0, < 10.0.8 | 10.0.8 |
| OSV | npm | @intlify/core | >= 11.0.0, < 11.1.10 | 11.1.10 |
| OSV | npm | @intlify/core-base | >= 9.0.0, < 9.14.5 | 9.14.5 |
| OSV | npm | @intlify/core-base | >= 10.0.0, < 10.0.8 | 10.0.8 |
| OSV | npm | @intlify/core-base | >= 11.0.0, < 11.1.10 | 11.1.10 |
| OSV | npm | @intlify/vue-i18n-core | >= 9.2.0, < 9.14.5 | 9.14.5 |
| OSV | npm | @intlify/vue-i18n-core | >= 10.0.0, < 10.0.8 | 10.0.8 |
| OSV | npm | @intlify/vue-i18n-core | >= 11.0.0, < 11.1.10 | 11.1.10 |
| OSV | npm | petite-vue-i18n | >= 10.0.0, < 10.0.8 | 10.0.8 |
| OSV | npm | petite-vue-i18n | >= 11.0.0, < 11.1.10 | 11.1.10 |
References
- https://github.com/intlify/vue-i18n/commit/49f982443ab8fd94ecc427b265ce97d57df94d7e · WEB
- https://github.com/intlify/vue-i18n/commit/a47099619fb9b256e86341a8658ebe72e92ab099 · WEB
- https://github.com/intlify/vue-i18n/pull/2229 · WEB
- https://github.com/intlify/vue-i18n/pull/2230 · WEB
- https://github.com/intlify/vue-i18n/releases/tag/v10.0.8 · WEB
- https://github.com/intlify/vue-i18n/releases/tag/v11.1.10 · WEB
- https://github.com/intlify/vue-i18n/releases/tag/v9.14.5 · WEB
- https://github.com/intlify/vue-i18n/security/advisories/GHSA-x8qp-wqqm-57ph · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-53892 · ADVISORY
- https://github.com/intlify/vue-i18n · PACKAGE
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 16 Jul 2025)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 16 Jul 2025)