Vulnerability · Published Jul 16, 2025 · Assigned by GitHub_M

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

Medium 5.3

In plain English

A medium-severity cross-site scripting in vue-i18n from intlify. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 57% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)5.3Medium
Exploit odds (30 days)0.8%top 43.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

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

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npm@intlify/core9.14.5GHSA-x8qp-wqqm-57ph
npm@intlify/core11.1.10GHSA-x8qp-wqqm-57ph
npm@intlify/core10.0.8GHSA-x8qp-wqqm-57ph
npm@intlify/core-base11.1.10GHSA-x8qp-wqqm-57ph
npm@intlify/core-base9.14.5GHSA-x8qp-wqqm-57ph
npm@intlify/core-base10.0.8GHSA-x8qp-wqqm-57ph
npm@intlify/vue-i18n-core9.14.5GHSA-x8qp-wqqm-57ph
npm@intlify/vue-i18n-core10.0.8GHSA-x8qp-wqqm-57ph
npm@intlify/vue-i18n-core11.1.10GHSA-x8qp-wqqm-57ph
npmpetite-vue-i18n11.1.10GHSA-x8qp-wqqm-57ph
npmpetite-vue-i18n10.0.8GHSA-x8qp-wqqm-57ph
npmvue-i18n10.0.8GHSA-x8qp-wqqm-57ph
npmvue-i18n9.14.5GHSA-x8qp-wqqm-57ph
npmvue-i18n11.1.10GHSA-x8qp-wqqm-57ph

Affected products (as reported)

VendorProductVersions
intlify vue-i18n >= 9.0.0, < 9.14.5>= 10.0.0, < 10.0.8>= 11.0.0, < 11.1.0

Weakness: CWE-79 · Vector: 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

References