CVE-2026-144408: Vue I18n SanitizeTranslatedHtml Bypass Vulnerability
HIGHCVE-2026-144408 is a HIGH (CVSS 7.2) sanitizetranslatedhtml bypass vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Vue I18n libraries in the npm ecosystem. The issue involves sanitizetranslatedhtml bypass via unterminated attribute values. Remediation is available by upgrading affected packages to version 11.4.19, 12.0.0-alpha.10.
CVE-2026-144408 at a Glance
Security Impact
CVSS: 7.2
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N).
How to Fix CVE-2026-144408
To remediate this vulnerability, upgrade all affected Vue I18n dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install vue-i18n@Latest secure release
npm install vue-i18n@Latest secure release
npm install vue-i18n@11.4.19
npm install vue-i18n@12.0.0-alpha.10
npm install petite-vue-i18n@Latest secure release
npm install petite-vue-i18n@Latest secure release
npm install petite-vue-i18n@11.4.19
npm install petite-vue-i18n@12.0.0-alpha.10
npm install @intlify/core-base@Latest secure release
npm install @intlify/core-base@Latest secure release
npm install @intlify/core-base@11.4.19
npm install @intlify/core-base@12.0.0-alpha.10
npm install @intlify/core@Latest secure release
npm install @intlify/core@Latest secure release
npm install @intlify/core@11.4.19
npm install @intlify/core@12.0.0-alpha.10
npm install @intlify/vue-i18n-core@Latest secure release
npm install @intlify/vue-i18n-core@Latest secure release
npm install @intlify/vue-i18n-core@11.4.19
npm install @intlify/vue-i18n-core@12.0.0-alpha.10
npm install @intlify/shared@Latest secure release
npm install @intlify/shared@Latest secure release
npm install @intlify/shared@11.4.19
npm install @intlify/shared@12.0.0-alpha.10
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls vue-i18n
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2026-144408, inspect your project dependencies using npm:
npm ls vue-i18n
Analyze the terminal output to locate any version of Vue I18n in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 11.4.19), your application is affected.
Note: The npm ls vue-i18n command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'), where the product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. In Vue I18n, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-144408 Affected Vue I18n Versions
24 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
vue-i18n
|
npm |
9.14.5
All 1 versions
9.14.5
|
None specified
|
|
vue-i18n
|
npm |
10.0.8
All 1 versions
10.0.8
|
None specified
|
|
vue-i18n
|
npm |
≥ 11.1.10
< 11.4.19
|
11.4.19
|
|
vue-i18n
|
npm |
≥ 12.0.0-alpha.4
< 12.0.0-alpha.10
|
12.0.0-alpha.10
|
|
petite-vue-i18n
|
npm |
9.14.5
All 1 versions
9.14.5
|
None specified
|
|
petite-vue-i18n
|
npm |
10.0.8
All 1 versions
10.0.8
|
None specified
|
|
petite-vue-i18n
|
npm |
≥ 11.1.10
< 11.4.19
|
11.4.19
|
|
petite-vue-i18n
|
npm |
≥ 12.0.0-alpha.4
< 12.0.0-alpha.10
|
12.0.0-alpha.10
|
|
@intlify/core-base
|
npm |
9.14.5
All 1 versions
9.14.5
|
None specified
|
|
@intlify/core-base
|
npm |
10.0.8
All 1 versions
10.0.8
|
None specified
|
|
@intlify/core-base
|
npm |
≥ 11.1.10
< 11.4.19
|
11.4.19
|
|
@intlify/core-base
|
npm |
≥ 12.0.0-alpha.4
< 12.0.0-alpha.10
|
12.0.0-alpha.10
|
|
@intlify/core
|
npm |
9.14.5
All 1 versions
9.14.5
|
None specified
|
|
@intlify/core
|
npm |
10.0.8
All 1 versions
10.0.8
|
None specified
|
|
@intlify/core
|
npm |
≥ 11.1.10
< 11.4.19
|
11.4.19
|
|
@intlify/core
|
npm |
≥ 12.0.0-alpha.4
< 12.0.0-alpha.10
|
12.0.0-alpha.10
|
|
@intlify/vue-i18n-core
|
npm |
9.14.5
All 1 versions
9.14.5
|
None specified
|
|
@intlify/vue-i18n-core
|
npm |
10.0.8
All 1 versions
10.0.8
|
None specified
|
|
@intlify/vue-i18n-core
|
npm |
≥ 11.1.10
< 11.4.19
|
11.4.19
|
|
@intlify/vue-i18n-core
|
npm |
≥ 12.0.0-alpha.4
< 12.0.0-alpha.10
|
12.0.0-alpha.10
|
|
@intlify/shared
|
npm |
9.14.5
All 1 versions
9.14.5
|
None specified
|
|
@intlify/shared
|
npm |
10.0.8
All 1 versions
10.0.8
|
None specified
|
|
@intlify/shared
|
npm |
≥ 11.1.10
< 11.4.19
|
11.4.19
|
|
@intlify/shared
|
npm |
≥ 12.0.0-alpha.4
< 12.0.0-alpha.10
|
12.0.0-alpha.10
|
References
Frequently Asked Questions
What is CVE-2026-144408?
Which Vue I18n versions are affected?
What version fixes CVE-2026-144408?
Is vue-i18n affected?
Is petite-vue-i18n affected?
What is the CVSS score of CVE-2026-144408?
What CWE is associated with CVE-2026-144408?
How can I check npm dependencies for CVE-2026-144408?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-9qc3-h48f-7h96",
"modified" : "2026-12-04T22:14:08Z",
"published" : "2026-12-04T22:14:08Z",
"aliases" : [ "CVE-2026-144408" ],
"summary" : "Vue I18n: sanitizeTranslatedHtml bypass via unterminated attribute values",
"details" : "## Summary\n\nWhen `escapeParameter` is enabled (`escapeParameterHtml` in the Legacy API), Vue I18n passes the translated string through `sanitizeTranslatedHtml()`. The sanitizer disables `javascript:` URLs by rewriting them to `about:blank` — but only for attributes it can recognize. Both recognition passes require a well-formed attribute: the quoted pass needs the closing quote inside the message, and the unquoted pass rejects any value that starts with a quote character. A message that opens an attribute value and never closes it therefore keeps its `javascript:` URL verbatim.\n\nThe HTML tokenizer, however, does not stop at the end of the message. In server-side rendering the unterminated attribute value continues into the rest of the page and closes at the next `\"` in the application's own markup; the element is then emitted with the attacker's `javascript:` URL as its `src`/`href`. A `//` inside the URL comments out the swallowed page content, so the executed script is exactly attacker-controlled. An `<iframe src=\"javascript:...\">` runs without any user interaction, in the origin of the application.\n\n## Affected component\n\n- `sanitizeTranslatedHtml()` in `packages/shared/src/sanitize.ts`\n - quoted-attribute pass: `packages/shared/src/sanitize.ts` L139-148 (`/([\\w:-]+)\\s*=\\s*\"([^\"]*)\"/g` requires a closing quote)\n - unquoted-attribute pass: `packages/shared/src/sanitize.ts` L186-189 (value class `[^\\s\"'=<>`]+` cannot match a value starting with `\"`)\n- Sanitization is applied to every translation result when `escapeParameter` is on: `packages/core-base/src/translate.ts` L715-717.\n- Verified against the released sanitizer at v11.4.18 (the version that fixed GHSA-jrxq-gc2q-9357) and master v12.0.0-alpha.9 (c528b8d) — the relevant regexes are identical in both.\n- Affected packages: `vue-i18n`, `petite-vue-i18n`, `@intlify/core-base`, `@intlify/core`, `@intlify/vue-i18n-core`, `@intlify/shared` (same versions as GHSA-jrxq-gc2q-9357).\n- Not affected: client-side-only rendering (`innerHTML` of a lone message string drops the unterminated tag token at EOF — verified with parse5), and `<i18n-t>` (does not render translations as HTML).\n\n## PoC\n\nMessage (attacker-controlled translation, `escapeParameter: true`):\n\n```\n<iframe src=\"javascript:alert(document.domain)//\n```\n\nNo closing quote. `sanitizeTranslatedHtml()` returns the string byte-identical (verified with an exact replica of the released code for v11.4.18 and v12.0.0-alpha.9):\n\n```js\nimport { createSSRApp, h } from 'vue'\nimport { renderToString } from 'vue/server-renderer'\nimport { createI18n } from 'vue-i18n'\n\nconst i18n = createI18n({\n legacy: false,\n locale: 'en',\n escapeParameter: true,\n messages: { en: { hello: '<iframe src=\"javascript:alert(document.domain)//' } }\n})\n\nconst app = createSSRApp({\n render: () => h('div', { innerHTML: i18n.global.t('hello') })\n})\napp.use(i18n)\n\nconsole.log(await renderToString(app))\n// the iframe start tag is still unterminated; the server continues writing the page\n```\n\nOn the server, the rest of the page (footer, `class=\"...\"`, scripts) follows. In a browser, the tokenizer keeps `src` open across the page boundary and closes it at the next `\"`; the element is emitted with `src=\"javascript:alert(document.domain)//</div><footer class=\"` and the `//` comments out the swallowed content — `alert(document.domain)` runs in the application origin when the iframe loads, with no user interaction. Verified with parse5 (spec-compliant HTML parser):\n\n```\nPAGE PARSE: div -> {id=\"app\"}\n iframe -> {src=\"javascript:alert(document.domain)//</div><foo\", footer\"=\"\"}\n```\n\nThe click-required variant is `<a href=\"javascript:alert(document.domain)//` (same mechanism, anchor emitted with the javascript: URL).\n\nNote: the `srcdoc` and event-handler neutralizations are string-wide and DO apply to unterminated values (an unterminated `<iframe srcdoc=\"<img src=x onerror=alert(1)//` gets its inner `onerror` neutralized to `onerror`, and character references are not decoded in attribute names per WHATWG §13.2.5.32), so the javascript:-URL attribute is the surviving vector.\n\n## Impact\n\nApplications that enable `escapeParameter`, render translations as HTML on the server (v-html/innerHTML in SSR, Nuxt, pre-rendered pages), and contain message content that is not fully trusted (crowdsourced or stored translations) are affected. An attacker who can change such a message runs script in the origin of the application for every visitor of a page that shows the message (stored XSS), without any user interaction, despite the sanitizer — the exact impact model of GHSA-jrxq-gc2q-9357.\n\n## Suggested CVSS 3.1\n\n7.2 — `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N` (same vector as GHSA-jrxq-gc2q-9357)\n\n## Suggested fix\n\nDetect unterminated attribute values at the end of sanitization and neutralize them, e.g. escape the `<` of any start tag whose quoted attribute value is still open at end of string (`/<(?=[^<]*=[^\"]*\"(?:[^\"]*)*$)/`-class detection, or track quote parity while scanning), so the element degrades to text exactly like the `<script>`/`<base>`/`<animate>`/`<set>` neutralization. A robust alternative is to tokenize with a spec-compliant HTML tokenizer and re-serialize instead of regex passes. Add test cases for unclosed `\"` and `'` attribute values in `packages/shared/test/sanitize.test.ts` (58 existing cases, none cover unterminated values).\n\n## Dedup\n\n- Not any of the 9 published advisories. GHSA-jrxq-gc2q-9357 (SSR `<script>`), GHSA-473g-cvf6-mfxj (`xlink:href`/`animate`/`set`), GHSA-83rm-6c8r-g728 (`srcdoc`) are element/attribute-name specific; this is a value-shape (unterminated attribute) bypass with a distinct root cause.\n- The private-security fork merges b27a50e (Nov 1 → 11.4.17) and a66ace0 (Nov 3 → 11.4.18) did not modify the quoted- or unquoted-attribute URL passes; their diffs are fully accounted for by the two published advisories.\n- Distinct from GHSA-8rc2-428q-7ww3 (escaping gap in `escapeParams`), CVE-2025-53892 (pre-sanitizer era), and the prototype-pollution advisories.\n\n## Patches\n\nFixed in `vue-i18n` 11.4.19 and 12.0.0-alpha.10, and in the same versions of `petite-vue-i18n`, `@intlify/core-base`, `@intlify/core`, `@intlify/vue-i18n-core` and `@intlify/shared`.\n\n`sanitizeTranslatedHtml()` now reads tags and attributes with the rules of the HTML tokenizer, so that it agrees with browsers on where each attribute starts and ends, and it checks every attribute of every start tag. A tag, a comment, or an element like `<textarea>` that is not closed at the end of a translation is turned into text, so that it cannot take in the rest of the page when the HTML is rendered on the server.\n\nv9 and v10 are not supported, and do not get a fix.\n\n## Workarounds\n\nDo not render translation messages from untrusted sources with `v-html`, even with `escapeParameter` enabled. Use [Component interpolation](https://vue-i18n.intlify.dev/guide/advanced/component.html) instead.\n\n## Related\n\n- [GHSA-7356-3q55-jvxm](https://github.com/intlify/vue-i18n/security/advisories/GHSA-7356-3q55-jvxm), which is fixed by the same change\n- [HTML Message - Using the escape parameter option](https://vue-i18n.intlify.dev/guide/essentials/syntax.html#using-the-escape-parameter-option)",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "vue-i18n"
},
"versions" : [ "9.14.5" ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "vue-i18n"
},
"versions" : [ "10.0.8" ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "vue-i18n"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "11.1.10"
}, {
"fixed" : "11.4.19"
} ]
} ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "vue-i18n"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "12.0.0-alpha.4"
}, {
"fixed" : "12.0.0-alpha.10"
} ]
} ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "petite-vue-i18n"
},
"versions" : [ "9.14.5" ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "petite-vue-i18n"
},
"versions" : [ "10.0.8" ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "petite-vue-i18n"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "11.1.10"
}, {
"fixed" : "11.4.19"
} ]
} ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "petite-vue-i18n"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "12.0.0-alpha.4"
}, {
"fixed" : "12.0.0-alpha.10"
} ]
} ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "@intlify/core-base"
},
"versions" : [ "9.14.5" ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "@intlify/core-base"
},
"versions" : [ "10.0.8" ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "@intlify/core-base"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "11.1.10"
}, {
"fixed" : "11.4.19"
} ]
} ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "@intlify/core-base"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "12.0.0-alpha.4"
}, {
"fixed" : "12.0.0-alpha.10"
} ]
} ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "@intlify/core"
},
"versions" : [ "9.14.5" ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "@intlify/core"
},
"versions" : [ "10.0.8" ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "@intlify/core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "11.1.10"
}, {
"fixed" : "11.4.19"
} ]
} ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "@intlify/core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "12.0.0-alpha.4"
}, {
"fixed" : "12.0.0-alpha.10"
} ]
} ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "@intlify/vue-i18n-core"
},
"versions" : [ "9.14.5" ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "@intlify/vue-i18n-core"
},
"versions" : [ "10.0.8" ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "@intlify/vue-i18n-core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "11.1.10"
}, {
"fixed" : "11.4.19"
} ]
} ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "@intlify/vue-i18n-core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "12.0.0-alpha.4"
}, {
"fixed" : "12.0.0-alpha.10"
} ]
} ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "@intlify/shared"
},
"versions" : [ "9.14.5" ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "@intlify/shared"
},
"versions" : [ "10.0.8" ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "@intlify/shared"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "11.1.10"
}, {
"fixed" : "11.4.19"
} ]
} ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "@intlify/shared"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "12.0.0-alpha.4"
}, {
"fixed" : "12.0.0-alpha.10"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/intlify/vue-i18n/security/advisories/GHSA-9qc3-h48f-7h96"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-144408"
}, {
"type" : "WEB",
"url" : "https://github.com/intlify/vue-i18n/pull/2769"
}, {
"type" : "WEB",
"url" : "https://github.com/intlify/vue-i18n/commit/addbc3aa1bebb5542541c4ef08968e2cd0ea2d71"
}, {
"type" : "WEB",
"url" : "https://github.com/intlify/vue-i18n/commit/ef52989d0dde9e12fa3c7fc25494b306f7f05d93"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/intlify/vue-i18n"
}, {
"type" : "WEB",
"url" : "https://github.com/intlify/vue-i18n/releases/tag/v11.4.19"
}, {
"type" : "WEB",
"url" : "https://github.com/intlify/vue-i18n/releases/tag/v12.0.0-alpha.10"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-79" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-12-04T22:14:08Z",
"nvd_published_at" : "2026-12-03T20:17:48Z"
}
}