Skip to main content
← All vulnerabilities
CVE-2025-53892GHSA-X8QP-WQQM-57PH

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 9.14.5, 10.0.8, 11.1.0, 11.1.10
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • intlify vue-i18n

    From 9.0.0 · fixed in 9.14.5; From 10.0.0 · fixed in 10.0.8; From 11.0.0 · fixed in 11.1.0

  • vue-i18nnpm

    From 9.0.0 · fixed in 9.14.5

  • vue-i18nnpm

    From 10.0.0 · fixed in 10.0.8

  • vue-i18nnpm

    From 11.0.0 · fixed in 11.1.10

  • @intlify/corenpm

    From 9.0.0 · fixed in 9.14.5

  • @intlify/corenpm

    From 10.0.0 · fixed in 10.0.8

  • @intlify/corenpm

    From 11.0.0 · fixed in 11.1.10

  • @intlify/core-basenpm

    From 9.0.0 · fixed in 9.14.5

  • @intlify/core-basenpm

    From 10.0.0 · fixed in 10.0.8

  • @intlify/core-basenpm

    From 11.0.0 · fixed in 11.1.10

  • @intlify/vue-i18n-corenpm

    From 9.2.0 · fixed in 9.14.5

  • @intlify/vue-i18n-corenpm

    From 10.0.0 · fixed in 10.0.8

  • @intlify/vue-i18n-corenpm

    From 11.0.0 · fixed in 11.1.10

  • petite-vue-i18nnpm

    From 10.0.0 · fixed in 10.0.8

  • petite-vue-i18nnpm

    From 11.0.0 · fixed in 11.1.10

References 8

GitHub · intlify/vue-i18n