Skip to main content

Vue I18n CVE-2026-144406

| EUVDEUVD-2026-143703 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-12-03 security-advisories@github.com GHSA-786j-gfwp-vhm5
5.4
CVSS 3.1 · Vendor: github
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Submit attacker-controlled SSR translation
  2. Delivery
    Translation rendered via v-html during SSR
  3. Exploit
    Unclosed <object><svg> holds parser in SVG context
  4. Execution
    Later inline script parsed as SVG script
  5. Impact
    Character references decode and script runs in app origin

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires all of the following: the application renders translations as HTML on the server (SSR, including SSG and prerendering) using v-html, the escapeParameter option (escapeParameterHtml in the Legacy API) is enabled, and the attacker can control translation content (for example crowdsourced or stored translations) - or, before 11.4.21 and 12.0.0-alpha.12, can pass a non-string interpolation parameter. These are non-default/application-specific conditions, not the stock configuration. For full script execution in the application origin, an additional condition applies: a later inline script in the same page must contain attacker-controllable data (such as a serialized state object) with no element that leaves SVG parsing (for example <div>, <p> or <span>) between the open element and that script; without it, impact is limited to hiding the page (<template>), capturing it into a <select>/<object>, or hijacking later form controls (<form action>). Client-only rendering (v-html using innerHTML / fragment rendering) is explicitly not affected, which strongly limits realistic exposure to SSR applications only.

Impact

Signals point to a real but conditional, medium-tier issue rather than a drop-everything emergency. The CVSS 3.1 vector (AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N, base 5.4) correctly captures the shape: network-reachable, no victim authentication, but high attack complexity because exploitation depends on a specific page layout and a non-default configuration, with a scope change (S:C) reflecting that script can escape into the application origin. The vuln.today Decision label is this_month, not act_now or emergency, which is consistent with the medium score. No CISA KEV listing and no EPSS score were supplied in the input, so there is no evidence of active or widespread exploitation - exploitation status is therefore best described as: a working proof-of-concept is published in the GHSA advisory (confirmed on Chromium, Chrome and WebKit against 11.4.20 and 12.0.0-alpha.11), but this is not active in-the-wild exploitation. The most important nuance the CVSS number hides: the high-impact outcome (arbitrary script execution in the app origin) is gated on a later inline script containing attacker-controllable data with no intervening SVG-leaving element; where those conditions are absent, impact degrades to page manipulation, form hijacking, or content absorption, which matches the modest C:L/I:L rating. Net: prioritize for affected SSR deployments with escapeParameter enabled and untrusted/crowdsourced translations, but it is not a high-real-risk internet-wide threat. EPSS and KEV data are missing from the input and should be checked before final triage.

Exploit ScenarioDerived

An attacker who can influence translations (for example a crowdsourced or stored translation string) submits a value that leaves an element open, such as '© Example<object><svg>'. When the application server-side-renders that translation as HTML (v-html) with escapeParameter enabled, the unclosed <object><svg> keeps the browser parsing the rest of the page as SVG, so a later inline script carrying attacker-controlled serialized state is parsed as an SVG script, its character references are decoded, and attacker JavaScript runs in the application origin. A working PoC demonstrating this is published in the GHSA-786j-gfwp-vhm5 advisory and was confirmed on Chromium, Chrome and WebKit.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.6% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Dec 03, 2026

Server-side rendering of Vue I18n translations with escapeParameter enabled can be manipulated by attacker-controlled message content to alter how the remainder of the page is parsed, because sanitizeTranslatedHtml() does not track the open-element stack. Unauthenticated remote attackers who can influence translations (crowdsourced or stored messages, or a non-string interpolation parameter before 11.4.21 / 12.0.0-alpha.12) can leave HTML, SVG or MathML elements open so that later markup is read in an attacker-selected context; the vendor advisory includes a PoC confirmed on Chromium, Chrome and WebKit that achieves script execution when a following inline script carries attacker-influenced data with no SVG-breaking element in between. Otherwise the impact is limited to hiding the page, absorbing content into a <select> or <object>, or capturing later form controls. Client-only fragment rendering (v-html via innerHTML) is explicitly not affected, and the advisory ships fixes in 11.4.22 and 12.0.0-alpha.13.

RemediationAI

Upgrade to Vue I18n 11.4.22 or 12.0.0-alpha.13, which are the vendor-released fixed versions containing the rewritten stack-tracking sanitizer (commits 813da5e and a3b3d0a, PR 2793, releases v11.4.22 and v12.0.0-alpha.13, advisory GHSA-786j-gfwp-vhm5). Versions 9.14.5 and 10.0.8 will not be fixed because v9 and v10 are out of support, so migration to v11 is the only vendor path for those installs, including for petite-vue-i18n. Where upgrading is not immediately possible, the vendor workarounds are to ensure every element in translations rendered through v-html is explicitly closed and to refuse translations from untrusted sources, and more robustly to stop rendering untrusted translations with v-html on the server at all and use component interpolation (<i18n-t>) instead - the trade-off being that <i18n-t> does not interpret raw HTML in messages, so message formats that rely on embedded markup must be restructured. Well-formed translations are unchanged by the fix, so upgrade testing can focus on messages containing unclosed tags, stray end tags, or SVG/MathML content.

Affected VersionsENISA

vue-i18n = 10.0.8
vue-i18n 12.0.0-alpha.4, < 12.0.0-alpha.13
vue-i18n = 9.14.5
vue-i18n 11.1.10, < 11.4.22

Affected Packages

npm @intlify/core fix: 11.4.22, 12.0.0-alpha.13
npm @intlify/core-base fix: 11.4.22, 12.0.0-alpha.13
npm @intlify/shared fix: 11.4.22, 12.0.0-alpha.13
npm @intlify/vue-i18n-core fix: 11.4.22, 12.0.0-alpha.13
npm petite-vue-i18n fix: 11.4.22, 12.0.0-alpha.13
npm vue-i18n fix: 11.4.22, 12.0.0-alpha.13

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 6 packages in npm

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Vue I18n is the internationalization plugin for Vue.js; the flawed routine is sanitizeTranslatedHtml() in packages/shared/src/sanitize.ts, which neutralizes translated HTML when escapeParameter (escapeParameterHtml in the Legacy API) is on. The sanitizer tokenizes tags like the HTML tokenizer but did not model the tree builder: it kept elements that a translation leaves open and kept end tags that close nothing inside the translation, so it lost the HTML/SVG/MathML namespace and scope state that browsers maintain. The fix adds an explicit open-element stack with namespace constants for HTML, SVG and MathML, integration-point tracking (SVG foreignObject/desc/title, MathML mi/mo/mn/ms/mtext and annotation-xml with HTML encoding), breakout-element detection (b, div, p, span, table and similar start tags that end foreign content, plus font with color/face/size), paragraph-closing and button-scope logic, and rules that turn unclosed <form> as well as stray foreignObject/desc/mi-type elements into text; end tags that close no element of the message are dropped and elements still open at message end are closed. The weakness class is CWE-79 (cross-site scripting), with CWE-116 (improper output encoding/escaping) also assigned, since the failure is an output-serialization gap rather than a script-injection sink. Because SSR emits the translation and the rest of the page as one HTML string, an unclosed <template> hides subsequent markup, an unclosed <select> or <object> swallows it, and <object><svg>, <table><svg> or <math><mi><svg> keeps the parser in SVG so a later inline <script> becomes an SVG script whose character references (for example &quot;) are decoded before execution; the trigger conditions beyond that are application-page specific and not described further in the available sources.

Know when Vue.js gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (github) PRIMARY 5.4 MEDIUM
AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N
vuln.today AI 5.4 MEDIUM

Network-reachable with no victim auth (AV:N/PR:N/UI:N); AC:H because it needs SSR, non-default escapeParameter and a specific page layout; S:C as script reaches the app origin; impact kept low (C:L/I:L).

3.1 AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N
4.0 AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

Lifecycle Timeline

2
Patch available
Dec 03, 2026 - 21:04 EUVD
CVE Published
Dec 03, 2026 - 20:17 cve.org
MEDIUM 5.4

DescriptionCVE.org

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.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 6 npm packages depend on @intlify/core-base (5 direct, 1 indirect)
  • 8 npm packages depend on @intlify/shared (7 direct, 1 indirect)
  • 1 npm packages depend on vue-i18n (1 direct, 0 indirect)

Ecosystem-wide dependent count for version 11.1.10 and other introduced versions.

Threat Intelligence Overview

EPSS Score
0.6%
Top 48% exploitable
Prevalence
High
de facto internationalization plugin across the widely-used Vue.js ecosystem
Threat Intel
1
1 source
Social Media
1
Sightings
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.6%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
High
Technical Impact
Partial

Priority Score

28
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +27
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy