CVE-2026-144407: Vue I18n Cross-Site Scripting Vulnerability

HIGH
Advisory Identifier: GHSA-7356-3q55-jvxm
CVSS 7.2
CWE-79
Published
Advisory Summary

CVE-2026-144407 is a HIGH (CVSS 7.2) cross-site scripting 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 allows dom xss via javascript: urls after an unquoted attribute value that contains a quote. Remediation is available by upgrading affected packages to version 11.4.19, 12.0.0-alpha.10.

CVE-2026-144407 at a Glance

CVE Identifier CVE-2026-144407
GHSA Identifier GHSA-7356-3q55-jvxm
Severity HIGH
CVSS v3.1 Base Score 7.2
CWE Classification CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected Product Vue I18n
Package Ecosystem npm
Published Date
Last Updated

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).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Changed (S:C)
Confidentiality Low (C:L)
Integrity Low (I:L)
Availability None (A:N)

How to Fix CVE-2026-144407

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.

vue-i18n fixed: Latest secure release
npm install vue-i18n@Latest secure release
vue-i18n fixed: Latest secure release
npm install vue-i18n@Latest secure release
vue-i18n fixed: 11.4.19
npm install vue-i18n@11.4.19
vue-i18n fixed: 12.0.0-alpha.10
npm install vue-i18n@12.0.0-alpha.10
petite-vue-i18n fixed: Latest secure release
npm install petite-vue-i18n@Latest secure release
petite-vue-i18n fixed: Latest secure release
npm install petite-vue-i18n@Latest secure release
petite-vue-i18n fixed: 11.4.19
npm install petite-vue-i18n@11.4.19
petite-vue-i18n fixed: 12.0.0-alpha.10
npm install petite-vue-i18n@12.0.0-alpha.10
@intlify/core-base fixed: Latest secure release
npm install @intlify/core-base@Latest secure release
@intlify/core-base fixed: Latest secure release
npm install @intlify/core-base@Latest secure release
@intlify/core-base fixed: 11.4.19
npm install @intlify/core-base@11.4.19
@intlify/core-base fixed: 12.0.0-alpha.10
npm install @intlify/core-base@12.0.0-alpha.10
@intlify/core fixed: Latest secure release
npm install @intlify/core@Latest secure release
@intlify/core fixed: Latest secure release
npm install @intlify/core@Latest secure release
@intlify/core fixed: 11.4.19
npm install @intlify/core@11.4.19
@intlify/core fixed: 12.0.0-alpha.10
npm install @intlify/core@12.0.0-alpha.10
@intlify/vue-i18n-core fixed: Latest secure release
npm install @intlify/vue-i18n-core@Latest secure release
@intlify/vue-i18n-core fixed: Latest secure release
npm install @intlify/vue-i18n-core@Latest secure release
@intlify/vue-i18n-core fixed: 11.4.19
npm install @intlify/vue-i18n-core@11.4.19
@intlify/vue-i18n-core fixed: 12.0.0-alpha.10
npm install @intlify/vue-i18n-core@12.0.0-alpha.10
@intlify/shared fixed: Latest secure release
npm install @intlify/shared@Latest secure release
@intlify/shared fixed: Latest secure release
npm install @intlify/shared@Latest secure release
@intlify/shared fixed: 11.4.19
npm install @intlify/shared@11.4.19
@intlify/shared fixed: 12.0.0-alpha.10
npm install @intlify/shared@12.0.0-alpha.10
Verify Direct and Transitive Dependencies

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-144407, 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

### Summary When `escapeParameter` is enabled (`escapeParameterHtml` in the Legacy API), Vue I18n passes the translated string through `sanitizeTranslatedHtml()`. The sanitizer replaces `javascript:` URLs in `href`, `xlink:href`, `src`, `action` and `formaction` with `about:blank`. It finds attributes with regular expressions, not with an HTML tokenizer. The two disagree when an **unquoted** attribute value contains a quote character. HTML allows that: `x=y"z="q` is one attribute, `x`, with the value `y"z="q`. The sanitizer instead reads `z="q href="` as a quoted attribute named `z`, and so it consumes the opening quote of the real `href`. The real `href="javascript:..."` is then never inspected: ```html <iframe x=y"z="q src="javascript:alert(document.domain)"></iframe> <a x=y"z="q href="javascript:alert(document.domain)">click</a> ``` Both strings come out of `sanitizeTranslatedHtml()` unchanged, and the browser parses them with `src` / `href` set to the `javascript:` URL. This bypasses the `javascript:` URL check that the sanitizer has had since the fix for CVE-2025-53892 (GHSA-x8qp-wqqm-57ph), as GHSA-83rm-6c8r-g728 (`srcdoc`) and GHSA-473g-cvf6-mfxj (SVG links) did. Checked on `packages/shared/src/sanitize.ts` at `master` (last change `a66ace0a`, 2026-11-03), which is v11.4.18, the latest release. ### Details `sanitizeTranslatedHtml()` in `packages/shared/src/sanitize.ts` (v11.4.18) works in these steps: 1. Quoted attributes, double quotes and then single quotes: ```ts html = html.replace(/([\w:-]+)\s*=\s*"([^"]*)"/g, (_, attrName, attrValue) => `${attrName}="${sanitizeAttributeValue(attrName, attrValue)}"`) html = html.replace(/([\w:-]+)\s*=\s*'([^']*)'/g, ...) ``` `sanitizeAttributeValue` applies the `javascript:` check only when `attrName` is a URL attribute. 2. Event handlers, `srcdoc` and `<base|animate|set|script>` are neutralized with global patterns. 3. Unquoted URL attributes: ```ts const unquotedUrlAttributePattern = /(^|[\s"'<>/])((?:href|xlink:href|src|action|formaction)\s*=\s*)([^\s"'=<>`]+)/gi ``` For the input `<a x=y"z="q href="javascript:alert(1)">`: - Step 1 scans left to right for `name="..."`. `x=y` is not followed by a quote. The first match is `z="q href="`: name `z`, value `q href=`. `z` is not a URL attribute and the value needs no escaping, so nothing changes. The scan resumes **after** that closing quote, at `javascript:alert(1)">`, where no `name="..."` follows. - Step 3 finds `href=`, but the value class `[^\s"'=<>`]+` cannot start with `"`, so there is no match. - The steps for event handlers, `srcdoc` and dangerous elements do not apply. The browser reads the same tag as two attributes. In the HTML tokenizer's "attribute value (unquoted)" state, `"` is a parse error but it is kept in the value: ```text x = y"z="q href = javascript:alert(1) ``` The single-quote form `<a x=y'z='q href='javascript:alert(1)'>` desynchronizes the second expression in the same way. Event handlers are not reachable with this trick, because their pattern is global and does not depend on quoting. The bypass is limited to `javascript:` URLs. ### Suggested fix - Tokenize start tags the way HTML does (attribute name, then an unquoted, single-quoted or double-quoted value) and run the URL, event-handler and `srcdoc` checks on every attribute the tokenizer returns. Regular expressions over the whole string cannot agree with the parser on where an attribute starts. - A smaller hardening that closes this case: in the unquoted pass, let the value of a URL attribute start with a quote (strip one leading quote before `hasJavascriptScheme`), or add a pass that checks `(?:href|xlink:href|src|action|formaction)\s*=\s*["']?<value>` everywhere, regardless of what steps 1 and 2 matched. - Add the three strings from the proof of concept as test cases. ### Proof of concept **1. The sanitizer leaves the strings unchanged.** I re-typed the patterns of `sanitize.ts` into a stand-alone script (no package loaded) and printed input and output. Output of my run: ```text control: quoted href | <a href="javascript:alert(1)">x</a> -> <a href="about:blank">x</a> control: unquoted src | <iframe src=javascript:alert(1)> -> <iframe src=about:blank> control: entity-obfuscated | <a href="jav&#x09;ascript&colon;alert(1)">x</a> -> <a href="about:blank">x</a> candidate A (a href) | <a x=y"z="q href="javascript:alert(1)">x</a> -> <a x=y"z="q href="javascript:alert(1)">x</a> candidate B (iframe src) | <iframe x=y"z="q src="javascript:alert(1)"></iframe> -> <iframe x=y"z="q src="javascript:alert(1)"></iframe> candidate C (single quotes) | <a x=y'z='q href='javascript:alert(1)'>x</a> -> <a x=y'z='q href='javascript:alert(1)'>x</a> ``` **2. The browser parses them as `javascript:` URLs.** `new DOMParser().parseFromString(html, 'text/html')` in Chrome, attributes of the first element: ```text A x = y"z="q href = javascript:alert(1) IFRAME x = y"z="q src = javascript:alert(1) A x = y'z='q href = javascript:alert(1) ``` **3. In an application.** I did not run this step with the published package; it is the setup used in the earlier sanitizer advisories: ```js import { createI18n } from 'vue-i18n' const i18n = createI18n({ legacy: false, locale: 'en', escapeParameter: true, messages: { en: { banner: '<iframe x=y"z="q src="javascript:alert(document.domain)"></iframe>' } } }) // template: <p v-html="$t('banner')"></p> ``` ### Impact DOM XSS in the origin of the application for anyone who relies on `escapeParameter` / `sanitizeTranslatedHtml` to neutralize active content in translation messages that are rendered with `v-html` (or on the server), when the message markup can be influenced by an attacker: translations loaded from a CMS, a translation platform, user-contributed locales, and similar. A parameter alone cannot trigger it: parameters are escaped by `escapeHtml`, which turns quotes and `=` into character references. The precondition is the same as "markup in a message" in GHSA-83rm-6c8r-g728 and GHSA-473g-cvf6-mfxj. Severity: for the `<iframe src>` form, which needs no interaction, I used the vector of GHSA-83rm-6c8r-g728: CVSS 3.1 `AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N` (7.2). The `<a href>` form needs a click (`UI:R`, 6.1). Affected packages share the sanitizer: `vue-i18n`, `petite-vue-i18n`, `@intlify/core`, `@intlify/core-base`, `@intlify/vue-i18n-core`, `@intlify/shared`. CWE-79 (Cross-site Scripting). I found no existing advisory or issue for this case. The published sanitizer advisories cover event handlers (GHSA-x8qp-wqqm-57ph), `srcdoc` (GHSA-83rm-6c8r-g728), SVG links (GHSA-473g-cvf6-mfxj) and `<script>` under SSR (GHSA-jrxq-gc2q-9357). Prepared with AI assistance. ### Patches Fixed 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`. `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. v9 and v10 are not supported, and do not get a fix. ### Workarounds Do 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. ### Related - [GHSA-9qc3-h48f-7h96](https://github.com/intlify/vue-i18n/security/advisories/GHSA-9qc3-h48f-7h96), which is fixed by the same change - [HTML Message - Using the escape parameter option](https://vue-i18n.intlify.dev/guide/essentials/syntax.html#using-the-escape-parameter-option)

CVE-2026-144407 Affected Vue I18n Versions

24 component(s)
Fixed Versions:
11.4.1912.0.0-alpha.10
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-144407?
CVE-2026-144407 is a security vulnerability in Vue I18n involving sanitizeTranslatedHtml allows DOM XSS via javascript: URLs after an unquoted attribute value that contains a quote under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting').
Which Vue I18n versions are affected?
Affected versions include releases prior to 11.4.19, 12.0.0-alpha.10 across affected packages: vue-i18n, petite-vue-i18n, @intlify/core-base, @intlify/core, @intlify/vue-i18n-core, @intlify/shared.
What version fixes CVE-2026-144407?
Upgrading to 11.4.19, 12.0.0-alpha.10 (or the latest patched release for your respective branch) resolves the vulnerability.
Is vue-i18n affected?
Yes, vue-i18n is affected in releases prior to Latest secure release, 11.4.19, 12.0.0-alpha.10. Upgrade your dependency to Latest secure release, 11.4.19, 12.0.0-alpha.10 or later.
Is petite-vue-i18n affected?
Yes, petite-vue-i18n is affected in releases prior to Latest secure release, 11.4.19, 12.0.0-alpha.10. Upgrade your dependency to Latest secure release, 11.4.19, 12.0.0-alpha.10 or later.
What is the CVSS score of CVE-2026-144407?
CVE-2026-144407 has a CVSS v3.1 base score of 7.2 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N.
What CWE is associated with CVE-2026-144407?
CVE-2026-144407 is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (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.).
How can I check npm dependencies for CVE-2026-144407?
Run the dependency tree command: 'npm ls vue-i18n'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-7356-3q55-jvxm",
  "modified" : "2026-12-04T22:13:17Z",
  "published" : "2026-12-04T22:13:17Z",
  "aliases" : [ "CVE-2026-144407" ],
  "summary" : "Vue I18n: sanitizeTranslatedHtml allows DOM XSS via javascript: URLs after an unquoted attribute value that contains a quote",
  "details" : "### Summary\n\nWhen `escapeParameter` is enabled (`escapeParameterHtml` in the Legacy API), Vue I18n passes the translated string through `sanitizeTranslatedHtml()`. The sanitizer replaces `javascript:` URLs in `href`, `xlink:href`, `src`, `action` and `formaction` with `about:blank`.\n\nIt finds attributes with regular expressions, not with an HTML tokenizer. The two disagree when an **unquoted** attribute value contains a quote character. HTML allows that: `x=y\"z=\"q` is one attribute, `x`, with the value `y\"z=\"q`. The sanitizer instead reads `z=\"q href=\"` as a quoted attribute named `z`, and so it consumes the opening quote of the real `href`. The real `href=\"javascript:...\"` is then never inspected:\n\n```html\n<iframe x=y\"z=\"q src=\"javascript:alert(document.domain)\"></iframe>\n<a x=y\"z=\"q href=\"javascript:alert(document.domain)\">click</a>\n```\n\nBoth strings come out of `sanitizeTranslatedHtml()` unchanged, and the browser parses them with `src` / `href` set to the `javascript:` URL. This bypasses the `javascript:` URL check that the sanitizer has had since the fix for CVE-2025-53892 (GHSA-x8qp-wqqm-57ph), as GHSA-83rm-6c8r-g728 (`srcdoc`) and GHSA-473g-cvf6-mfxj (SVG links) did.\n\nChecked on `packages/shared/src/sanitize.ts` at `master` (last change `a66ace0a`, 2026-11-03), which is v11.4.18, the latest release.\n\n### Details\n\n`sanitizeTranslatedHtml()` in `packages/shared/src/sanitize.ts` (v11.4.18) works in these steps:\n\n1. Quoted attributes, double quotes and then single quotes:\n   ```ts\n   html = html.replace(/([\\w:-]+)\\s*=\\s*\"([^\"]*)\"/g, (_, attrName, attrValue) => `${attrName}=\"${sanitizeAttributeValue(attrName, attrValue)}\"`)\n   html = html.replace(/([\\w:-]+)\\s*=\\s*'([^']*)'/g, ...)\n   ```\n   `sanitizeAttributeValue` applies the `javascript:` check only when `attrName` is a URL attribute.\n2. Event handlers, `srcdoc` and `<base|animate|set|script>` are neutralized with global patterns.\n3. Unquoted URL attributes:\n   ```ts\n   const unquotedUrlAttributePattern = /(^|[\\s\"'<>/])((?:href|xlink:href|src|action|formaction)\\s*=\\s*)([^\\s\"'=<>`]+)/gi\n   ```\n\nFor the input `<a x=y\"z=\"q href=\"javascript:alert(1)\">`:\n\n- Step 1 scans left to right for `name=\"...\"`. `x=y` is not followed by a quote. The first match is `z=\"q href=\"`: name `z`, value `q href=`. `z` is not a URL attribute and the value needs no escaping, so nothing changes. The scan resumes **after** that closing quote, at `javascript:alert(1)\">`, where no `name=\"...\"` follows.\n- Step 3 finds `href=`, but the value class `[^\\s\"'=<>`]+` cannot start with `\"`, so there is no match.\n- The steps for event handlers, `srcdoc` and dangerous elements do not apply.\n\nThe browser reads the same tag as two attributes. In the HTML tokenizer's \"attribute value (unquoted)\" state, `\"` is a parse error but it is kept in the value:\n\n```text\nx    = y\"z=\"q\nhref = javascript:alert(1)\n```\n\nThe single-quote form `<a x=y'z='q href='javascript:alert(1)'>` desynchronizes the second expression in the same way.\n\nEvent handlers are not reachable with this trick, because their pattern is global and does not depend on quoting. The bypass is limited to `javascript:` URLs.\n\n### Suggested fix\n\n- Tokenize start tags the way HTML does (attribute name, then an unquoted, single-quoted or double-quoted value) and run the URL, event-handler and `srcdoc` checks on every attribute the tokenizer returns. Regular expressions over the whole string cannot agree with the parser on where an attribute starts.\n- A smaller hardening that closes this case: in the unquoted pass, let the value of a URL attribute start with a quote (strip one leading quote before `hasJavascriptScheme`), or add a pass that checks `(?:href|xlink:href|src|action|formaction)\\s*=\\s*[\"']?<value>` everywhere, regardless of what steps 1 and 2 matched.\n- Add the three strings from the proof of concept as test cases.\n\n### Proof of concept\n\n**1. The sanitizer leaves the strings unchanged.** I re-typed the patterns of `sanitize.ts` into a stand-alone script (no package loaded) and printed input and output. Output of my run:\n\n```text\ncontrol: quoted href           | <a href=\"javascript:alert(1)\">x</a>\n                                -> <a href=\"about:blank\">x</a>\ncontrol: unquoted src          | <iframe src=javascript:alert(1)>\n                                -> <iframe src=about:blank>\ncontrol: entity-obfuscated     | <a href=\"jav&#x09;ascript&colon;alert(1)\">x</a>\n                                -> <a href=\"about:blank\">x</a>\ncandidate A (a href)           | <a x=y\"z=\"q href=\"javascript:alert(1)\">x</a>\n                                -> <a x=y\"z=\"q href=\"javascript:alert(1)\">x</a>\ncandidate B (iframe src)       | <iframe x=y\"z=\"q src=\"javascript:alert(1)\"></iframe>\n                                -> <iframe x=y\"z=\"q src=\"javascript:alert(1)\"></iframe>\ncandidate C (single quotes)    | <a x=y'z='q href='javascript:alert(1)'>x</a>\n                                -> <a x=y'z='q href='javascript:alert(1)'>x</a>\n```\n\n**2. The browser parses them as `javascript:` URLs.** `new DOMParser().parseFromString(html, 'text/html')` in Chrome, attributes of the first element:\n\n```text\nA       x = y\"z=\"q    href = javascript:alert(1)\nIFRAME  x = y\"z=\"q    src  = javascript:alert(1)\nA       x = y'z='q    href = javascript:alert(1)\n```\n\n**3. In an application.** I did not run this step with the published package; it is the setup used in the earlier sanitizer advisories:\n\n```js\nimport { createI18n } from 'vue-i18n'\n\nconst i18n = createI18n({\n  legacy: false,\n  locale: 'en',\n  escapeParameter: true,\n  messages: {\n    en: { banner: '<iframe x=y\"z=\"q src=\"javascript:alert(document.domain)\"></iframe>' }\n  }\n})\n// template: <p v-html=\"$t('banner')\"></p>\n```\n\n### Impact\n\nDOM XSS in the origin of the application for anyone who relies on `escapeParameter` / `sanitizeTranslatedHtml` to neutralize active content in translation messages that are rendered with `v-html` (or on the server), when the message markup can be influenced by an attacker: translations loaded from a CMS, a translation platform, user-contributed locales, and similar.\n\nA parameter alone cannot trigger it: parameters are escaped by `escapeHtml`, which turns quotes and `=` into character references. The precondition is the same as \"markup in a message\" in GHSA-83rm-6c8r-g728 and GHSA-473g-cvf6-mfxj.\n\nSeverity: for the `<iframe src>` form, which needs no interaction, I used the vector of GHSA-83rm-6c8r-g728: CVSS 3.1 `AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N` (7.2). The `<a href>` form needs a click (`UI:R`, 6.1).\n\nAffected packages share the sanitizer: `vue-i18n`, `petite-vue-i18n`, `@intlify/core`, `@intlify/core-base`, `@intlify/vue-i18n-core`, `@intlify/shared`.\n\nCWE-79 (Cross-site Scripting).\n\nI found no existing advisory or issue for this case. The published sanitizer advisories cover event handlers (GHSA-x8qp-wqqm-57ph), `srcdoc` (GHSA-83rm-6c8r-g728), SVG links (GHSA-473g-cvf6-mfxj) and `<script>` under SSR (GHSA-jrxq-gc2q-9357).\n\nPrepared with AI assistance.\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-9qc3-h48f-7h96](https://github.com/intlify/vue-i18n/security/advisories/GHSA-9qc3-h48f-7h96), 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-7356-3q55-jvxm"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-144407"
  }, {
    "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:13:17Z",
    "nvd_published_at" : "2026-12-03T20:17:47Z"
  }
}