CVE-2026-144408

Vue I18n: sanitizeTranslatedHtml bypass via unterminated attribute values

Published Dec 3, 2026 CVSS 3.1 · 7.2 High EPSS n/a KEV · Not listed
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 fails to inspect a javascript: URL when escapeParameter is enabled and an attacker-controlled translation ends with an unterminated href or src attribute value. When that translation is rendered as HTML during SSR, the browser continues tokenizing the value into later page markup, closes it at a later quote, and emits the element with the executable URL. This can cause stored XSS in the application origin, including an iframe variant that needs no user interaction. Client-only innerHTML fragment parsing is not affected because the incomplete tag is dropped at the end of the fragment. This issue is fixed in versions 11.4.19 and 12.0.0-alpha.10.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
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 fails to inspect a javascript: URL when escapeParameter is enabled and an attacker-controlled translation ends with an unterminated href or src attribute value. When that translation is rendered as HTML during SSR, the browser continues tokenizing the value into later page markup, closes it at a later quote, and emits the element with the executable URL. This can cause stored XSS in the application origin, including an iframe variant that needs no user interaction. Client-only innerHTML fragment parsing is not affected because the incomplete tag is dropped at the end of the fragment. This issue is fixed in versions 11.4.19 and 12.0.0-alpha.10.
Title Vue I18n: sanitizeTranslatedHtml bypass via unterminated attribute values
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 7.2, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N'}

Subscriptions

No data.

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Dec 3, 2026, 7:48 PM
Reserved
Dec 3, 2026, 7:17 PM
Status
Awaiting Analysis
Published
Dec 3, 2026, 8:17 PM
Modified
Dec 3, 2026, 8:17 PM