CVE 5.3 MEDIUM

Intlify Vue I18n’s escapeParameterHtml does not prevent DOM-based XSS via tag attributes like onerror_CVE-2025-53892

5.3 / 10
MEDIUM
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

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.

Basic Information

ID CVE-2025-53892
Source GitHub_M
Published Jul 16, 2025 at 13:42
Modified Jul 22, 2025 at 14:58

Affected Product

Vendor intlify
Product vue-i18n
Version >= 9.0.0, < 9.14.5
Affected Versions intlify vue-i18n >= 9.0.0, < 9.14.5
intlify vue-i18n >= 10.0.0, < 10.0.8
intlify vue-i18n >= 11.0.0, < 11.1.0

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.