Medium severity · published Jul 16, 2025
CVE-2025-53892
Intlify Vue I18n's escapeParameterHtml does not prevent DOM-based XSS via tag attributes like onerror
5.3
CVSS
0.8%
EPSS
No
On KEV
Description
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.
Exploitation
Is it being used?
Exploit prediction (EPSS)0.8% · higher than 57% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
VU
vue-i18n · intlify
>= 9.0.0, < 9.14.5; >= 10.0.0, < 10.0.8; >= 11.0.0, < 11.1.0 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-53892
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-53892
github.com
https://github.com/intlify/vue-i18n/commit/49f982443ab8fd94ecc427b265ce97d57df94d7e
github.com
https://github.com/intlify/vue-i18n/commit/a47099619fb9b256e86341a8658ebe72e92ab099
github.com
https://github.com/intlify/vue-i18n/pull/2229
github.com
https://github.com/intlify/vue-i18n/pull/2230
github.com
https://github.com/intlify/vue-i18n/releases/tag/v10.0.8
github.com
https://github.com/intlify/vue-i18n/releases/tag/v11.1.10
More from vue-i18n
8.9
CVE-2025-27597
Vue I18n Prototype Pollution in `handleFlatJson`
7.2
CVE-2026-118257
Vue I18n: escapeParameter does not prevent XSS through srcdoc in translation messages
2.1
CVE-2026-118256
Vue I18n: `escapeParameter` does not escape named values when the same call also passes a list
