# CVE-2025-53892: vue-i18n escapeParameterHtml DOM-based XSS in tag attributes

Source: https://junglewise.ai/threats/cve-2025-53892-vue-i18n-escapeparameterhtml-dom-based-xss-in-tag-attributes  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2025-07-16. Updated: 2026-09-25  
License: CC BY 4.0 with a link back

CVE-2025-53892 · Severity: medium · CVSS 4 · Published 2025-07-16

Vue I18n is a popular JavaScript library for internationalization in Vue applications, enabling dynamic translation of application content. A flaw in the escapeParameterHtml security feature fails to prevent cross-site scripting (XSS) attacks when malicious payloads are embedded in HTML tag attributes (like onerror handlers), allowing attackers to execute arbitrary JavaScript code and compromise user sessions or steal sensitive data.

Technologies: [@intlify/core (npm)](https://junglewise.ai/threats/technologies/intlify-core), [@intlify/core-base (npm)](https://junglewise.ai/threats/technologies/intlify-core-base), [@intlify/vue-i18n-core (npm)](https://junglewise.ai/threats/technologies/intlify-vue-i18n-core), [petite-vue-i18n (npm)](https://junglewise.ai/threats/technologies/petite-vue-i18n), [vue-i18n (npm)](https://junglewise.ai/threats/technologies/vue-i18n). Vendors: [npm](https://junglewise.ai/threats/vendors/npm).

## Quick answers

**Is CVE-2025-53892 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2025-53892 being exploited in the wild.

**How severe is CVE-2025-53892?** Medium severity, with a CVSS score of 4, published 16 July 2025.

**Which products and versions are affected?** @intlify/core (npm) SEMVER:introduced=9.0.0,fixed=9.14.5; @intlify/core-base (npm) SEMVER:introduced=9.0.0,fixed=9.14.5; @intlify/vue-i18n-core (npm) SEMVER:introduced=9.2.0,fixed=9.14.5; petite-vue-i18n (npm) SEMVER:introduced=10.0.0,fixed=10.0.8; and 1 more.

**Is there a fix for CVE-2025-53892?** Yes. @intlify/core (npm): upgrade to 9.14.5 or later; @intlify/core-base (npm): upgrade to 9.14.5 or later; @intlify/vue-i18n-core (npm): upgrade to 9.14.5 or later; petite-vue-i18n (npm): upgrade to 10.0.8 or later; vue-i18n (npm): upgrade to 9.14.5 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2025-53892 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2025-53892?** Check whether you run @intlify/core (npm), @intlify/core-base (npm), @intlify/vue-i18n-core (npm) or one of the others listed at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- @intlify/core (npm): upgrade to 9.14.5 or later

  ```sh
  npm install @intlify/core@9.14.5
  ```

- @intlify/core-base (npm): upgrade to 9.14.5 or later

  ```sh
  npm install @intlify/core-base@9.14.5
  ```

- @intlify/vue-i18n-core (npm): upgrade to 9.14.5 or later

  ```sh
  npm install @intlify/vue-i18n-core@9.14.5
  ```

- petite-vue-i18n (npm): upgrade to 10.0.8 or later

  ```sh
  npm install petite-vue-i18n@10.0.8
  ```

- vue-i18n (npm): upgrade to 9.14.5 or later

  ```sh
  npm install vue-i18n@9.14.5
  ```


## Technical details

This is a DOM-based XSS vulnerability in vue-i18n's escapeParameterHtml option, which is intended to sanitize interpolated parameters against HTML injection. The vulnerability exists because the escaping mechanism does not properly sanitize HTML attribute contexts, specifically event handler attributes like onerror. An attacker can craft a translation string containing an HTML tag with a malicious event handler (e.g., &lt;img src=x onerror="malicious code"&gt;) and use v-html directive to render it, bypassing the escapeParameterHtml protection. No special privileges or authentication is required; the attack only requires user interaction with rendering the translated content. Patches are available in vue-i18n 9.14.5, 10.0.8, 11.1.10 and related @intlify packages with the same version constraints.

## Affected products

- Intlify vue-i18n 9.0.0–11.1.9
- Intlify @intlify/core 9.0.0–11.1.9
- Intlify @intlify/core-base 9.0.0–11.1.9
- Intlify @intlify/vue-i18n-core 9.2.0–11.1.9
- Intlify petite-vue-i18n 10.0.0–11.1.9

## Identifiers

- CVE-2025-53892
- GHSA-x8qp-wqqm-57ph

## Timeline

- 2025-07-16: disclosed: GHSA-x8qp-wqqm-57ph and CVE-2025-53892 published
- 2025-07-16: patched: Patches released: vue-i18n 9.14.5, 10.0.8, 11.1.10 and related @intlify packages

## References

- [https://github.com/intlify/vue-i18n/security/advisories/GHSA-x8qp-wqqm-57ph](https://github.com/intlify/vue-i18n/security/advisories/GHSA-x8qp-wqqm-57ph)

## Related threats

- [Vue I18n XSS in sanitizeTranslatedHtml srcdoc escaping](https://junglewise.ai/threats/cve-2026-118257-vue-i18n-is-the-internationalization-plugin-for-vue-js-from-11-1)
- [Vue I18n XSS in escapeParameter with named interpolation](https://junglewise.ai/threats/cve-2026-118256-vue-i18n-is-the-internationalization-plugin-for-vue-js-from-9-0)
- [Intlify Vue I18n prototype pollution in handleFlatJson](https://junglewise.ai/threats/cve-2025-27597-intlify-vue-i18n-prototype-pollution-in-handleflatjson)
- [Intlify shared prototype pollution in deepCopy](https://junglewise.ai/threats/cve-2024-52810-intlify-shared-prototype-pollution-in-deepcopy)
- [vue-i18n cross-site scripting with prototype pollution](https://junglewise.ai/threats/cve-2024-52809-vue-i18n-cross-site-scripting-with-prototype-pollution)
