Description
When escapeParameter is enabled (escapeParameterHtml in the Legacy API), Vue I18n passes the translated string through sanitizeTranslatedHtml(). The sanitizer escapes < and > in attribute values and neutralizes event handler attributes such as onerror, but it does not handle the srcdoc attribute of <iframe>.
Recommendation
Update the @intlify/vue-i18n-core package to the latest compatible version. Followings are version details:
Affected version(s): **= 12.0.0-alpha.4 >= 11.1.10, < 11.4.14 = 10.0.8 = 9.14.5** Patched version(s): **12.0.0-alpha.5 11.4.14**
References
Could your website be exposed too?
SmartScanner can check your website for Vue I18n: escapeParameter does not prevent XSS through srcdoc in translation messages - @intlify/vue-i18n-core and gives you actionable findings to investigate.
Start a free scanRelated Issues
- Vue I18n: escapeParameter does not prevent XSS through srcdoc in translation messages - @intlify/core - CVE-2026-118257
- Vue I18n: escapeParameter does not prevent XSS through srcdoc in translation messages - @intlify/core-base - CVE-2026-118257
- Vue I18n: escapeParameter does not prevent XSS through srcdoc in translation messages - @intlify/shared - CVE-2026-118257
- Vue I18n: escapeParameter does not prevent XSS through srcdoc in translation messages - vue-i18n - CVE-2026-118257


