Intlify Vue I18n's escapeParameterHtml does not prevent DOM-based XSS via tag attributes like onerror
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 9.14.5, 10.0.8, 11.1.0, 11.1.10
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- 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
- CVE published
- CISA SSVC assessment
Exploitation: poc · Automatable: no · Technical impact: partial
- 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