Intlify Vue I18n's escapeParameterHtml does not prevent DOM-based XSS via tag attributes like onerror
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| intlify | vue-i18n | affected |
|
No data.
No data.
| Vendor | Product | Versions |
|---|---|---|
| Intlify | Vue-i18n | — |
| Source | ID | Title |
|---|---|---|
EUVD |
EUVD-2025-21704 | vue-i18n's escapeParameterHtml does not prevent DOM-based XSS through its tag attributes |
Github GHSA |
GHSA-x8qp-wqqm-57ph | vue-i18n's escapeParameterHtml does not prevent DOM-based XSS through its tag attributes |
No CVSS v3.1
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.808% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | Intlify Vue I18n's escapeParameterHtml does not prevent DOM-based XSS via tag attributes like onerror | |
| Weaknesses | CWE-79 | |
| References |
|
|
| Metrics |
cvssV4_0
|