CVE-2025-53892

Published Jul 16, 2025

Last updated a month ago

CVSS medium 5.3
Vue I18n
Vue.js

Overview

AI description

Automated description summarized from trusted sources.

CVE-2025-53892 describes a DOM-based Cross-Site Scripting (XSS) vulnerability found in Vue I18n, an internationalization plugin for Vue.js. The vulnerability arises because the `escapeParameterHtml: true` option, which is designed to prevent HTML/script injection by escaping interpolated parameters, fails to adequately sanitize specific tag-based payloads. This flaw allows for the execution of malicious JavaScript code if an interpolated value containing such a payload is inserted into an HTML context using `v-html`, even when the `escapeParameterHtml` setting is enabled.

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.
Source
security-advisories@github.com
NVD status
Deferred

Risk scores

CVSS 4.0

Type
Secondary
Base score
5.3
Impact score
-
Exploitability score
-
Vector string
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Severity
MEDIUM

Weaknesses

security-advisories@github.com
CWE-79

Social media

Hype score is a measure of social media activity compared against trending CVEs from the past 12 months. Max score 100.

Hype score

33