Skip to content

CVE-2025-53892 Intlify Vue I18n's escapeParameterHtml does not prevent DOM-based XSS via tag attributes like onerror

MediumCVSS 5.3 EPSS 0.81%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial

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.

Upgrade path

6 packages: 5 fixed.

PackageAffectedFixed inStatus
intlify @intlify/core(npm) >= 9.0.0, < 9.14.5; >= 10.0.0, < 10.0.8; >= 11.0.0, < 11.1.10 9.14.5, 10.0.8, 11.1.10 Fixed
intlify @intlify/core-base(npm) >= 9.0.0, < 9.14.5; >= 10.0.0, < 10.0.8; >= 11.0.0, < 11.1.10 9.14.5, 10.0.8, 11.1.10 Fixed
intlify @intlify/vue-i18n-core(npm) >= 9.2.0, < 9.14.5; >= 10.0.0, < 10.0.8; >= 11.0.0, < 11.1.10 9.14.5, 10.0.8, 11.1.10 Fixed
npm petite-vue-i18n(npm) >= 10.0.0, < 10.0.8; >= 11.0.0, < 11.1.10 10.0.8, 11.1.10 Fixed
npm vue-i18n(npm) >= 9.0.0, < 9.14.5; >= 10.0.0, < 10.0.8; >= 11.0.0, < 11.1.10 9.14.5, 10.0.8, 11.1.10 Fixed
intlify vue-i18n = >= 9.0.0, < 9.14.5; = >= 10.0.0, < 10.0.8; = >= 11.0.0, < 11.1.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
npm vue-i18n(npm) >= 9.0.0, < 9.14.5 9.14.5
npm vue-i18n(npm) >= 10.0.0, < 10.0.8 10.0.8
npm vue-i18n(npm) >= 11.0.0, < 11.1.10 11.1.10
intlify @intlify/core(npm) >= 9.0.0, < 9.14.5 9.14.5
intlify @intlify/core(npm) >= 10.0.0, < 10.0.8 10.0.8
intlify @intlify/core(npm) >= 11.0.0, < 11.1.10 11.1.10
intlify @intlify/core-base(npm) >= 9.0.0, < 9.14.5 9.14.5
intlify @intlify/core-base(npm) >= 10.0.0, < 10.0.8 10.0.8
intlify @intlify/core-base(npm) >= 11.0.0, < 11.1.10 11.1.10
intlify @intlify/vue-i18n-core(npm) >= 9.2.0, < 9.14.5 9.14.5
intlify @intlify/vue-i18n-core(npm) >= 10.0.0, < 10.0.8 10.0.8
intlify @intlify/vue-i18n-core(npm) >= 11.0.0, < 11.1.10 11.1.10
npm petite-vue-i18n(npm) >= 10.0.0, < 10.0.8 10.0.8
npm petite-vue-i18n(npm) >= 11.0.0, < 11.1.10 11.1.10
intlify vue-i18n = >= 9.0.0, < 9.14.5 No fix listed
intlify vue-i18n = >= 10.0.0, < 10.0.8 No fix listed
intlify vue-i18n = >= 11.0.0, < 11.1.0 No fix listed

References