Vue I18n is the internationalization plugin for Vue.js. In versions 9.14.5 and 10.0.8, and from 11.1.10 until 11.4.19 and 12.0.0-alpha.4 until 12.0.0-alpha.10, sanitizeTranslatedHtml() in packages/shared/src/sanitize.ts parses attributes with regular expressions that disagree with the browser tokenizer when an unquoted attribute value contains a quote. When escapeParameter is enabled and an attacker-controlled translation is rendered as HTML through v-html or server rendering, the translation can cause the sanitizer to consume the opening quote of a real href or src attribute as part of a false attribute, leaving a javascript: URL unchecked. The browser then recognizes the executable URL, which can produce DOM XSS in the application origin, including an iframe form that requires no user interaction. Escaped interpolation parameters alone cannot create the required value shape. This issue is fixed in versions 11.4.19 and 12.0.0-alpha.10.
Project Subscriptions
No data.
Advisories
No advisories yet.
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
Thu, 03 Dec 2026 20:00:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Vue I18n is the internationalization plugin for Vue.js. In versions 9.14.5 and 10.0.8, and from 11.1.10 until 11.4.19 and 12.0.0-alpha.4 until 12.0.0-alpha.10, sanitizeTranslatedHtml() in packages/shared/src/sanitize.ts parses attributes with regular expressions that disagree with the browser tokenizer when an unquoted attribute value contains a quote. When escapeParameter is enabled and an attacker-controlled translation is rendered as HTML through v-html or server rendering, the translation can cause the sanitizer to consume the opening quote of a real href or src attribute as part of a false attribute, leaving a javascript: URL unchecked. The browser then recognizes the executable URL, which can produce DOM XSS in the application origin, including an iframe form that requires no user interaction. Escaped interpolation parameters alone cannot create the required value shape. This issue is fixed in versions 11.4.19 and 12.0.0-alpha.10. | |
| Title | Vue I18n: sanitizeTranslatedHtml allows DOM XSS via javascript: URLs after an unquoted attribute value that contains a quote | |
| Weaknesses | CWE-79 | |
| References |
|
|
| Metrics |
cvssV3_1
|
Projects
Sign in to view the affected projects.
Status: PUBLISHED
Assigner: GitHub_M
Published:
Updated: 2026-12-03T20:38:31.415Z
Reserved: 2026-12-03T19:10:37.362Z
Link: CVE-2026-144407
No data.
Status : Awaiting Analysis
Published: 2026-12-03T20:17:47.813
Modified: 2026-12-03T21:18:12.560
Link: CVE-2026-144407
No data.
OpenCVE Enrichment
No data.
Weaknesses