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.22 and 12.0.0-alpha.4 until 12.0.0-alpha.13, sanitizeTranslatedHtml() in packages/shared/src/sanitize.ts does not track the HTML element stack when escapeParameter is enabled. During SSR, an attacker-controlled translation can leave HTML, SVG, or MathML elements open, or close elements outside the translation, causing later page markup to be parsed in the attacker-selected context. Script execution requires a later inline script whose text contains attacker-controlled data and no intervening element that leaves SVG parsing; character-reference decoding can then let the data terminate a JavaScript string and execute in the application origin. Otherwise, the manipulated parser state can hide the page, capture later form controls, or absorb subsequent content. Client-only fragment rendering is not affected. This issue is fixed in versions 11.4.22 and 12.0.0-alpha.13.
Published: 2026-12-03
Score: 5.4 Medium
EPSS: n/a
KEV: No
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No solution or workaround provided in the CVE record.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

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.22 and 12.0.0-alpha.4 until 12.0.0-alpha.13, sanitizeTranslatedHtml() in packages/shared/src/sanitize.ts does not track the HTML element stack when escapeParameter is enabled. During SSR, an attacker-controlled translation can leave HTML, SVG, or MathML elements open, or close elements outside the translation, causing later page markup to be parsed in the attacker-selected context. Script execution requires a later inline script whose text contains attacker-controlled data and no intervening element that leaves SVG parsing; character-reference decoding can then let the data terminate a JavaScript string and execute in the application origin. Otherwise, the manipulated parser state can hide the page, capture later form controls, or absorb subsequent content. Client-only fragment rendering is not affected. This issue is fixed in versions 11.4.22 and 12.0.0-alpha.13.
Title vue-i18n escapeParameter sanitizer leaves elements open, so a translation can change how the rest of an SSR page is parsed
Weaknesses CWE-116
CWE-79
References
Metrics cvssV3_1

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


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-12-03T20:28:37.192Z

Reserved: 2026-12-03T19:10:37.362Z

Link: CVE-2026-144406

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-12-03T20:17:47.600

Modified: 2026-12-03T20:17:47.767

Link: CVE-2026-144406

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses
  • CWE-116

    Improper Encoding or Escaping of Output

  • CWE-79

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