HIGHCVSS v3.1 7.2Vulnerability

CVE-2026-144408

## Summary When `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. The 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. ## Affected component - `sanitizeTranslatedHtml()` in `packages/shared/src/sanitize.ts` - quoted-attribute pass: `packages/shared/src/sanitize.ts` L139-148 (`/([\w:-]+)\s*=\s*"([^"]*)"/g` requires a closing quote) - unquoted-attribute pass: `packages/shared/src/sanitize.ts` L186-189 (value class `[^\s"'=<>`]+` cannot match a value starting with `"`) - Sanitization is applied to every translation result when `escapeParameter` is on: `packages/core-base/src/translate.ts` L715-717. - 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. - 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). - Not affected: client-side-only r

Properties

Severity
high
Summary
Vue I18n: sanitizeTranslatedHtml bypass via unterminated attribute values
Nvd fetched at
2026-12-06T11:16:09.893609+00:00
Epss score
0.00491
Cvss severity
HIGH
Cvss score
7.2
Retrieved at
2026-12-06T11:17:52+00:00
Ghsa published
2026-12-04T22:14:08Z
Source url
https://github.com/advisories/GHSA-9qc3-h48f-7h96
Ghsa updated
2026-12-04T22:14:09Z
Ghsa id
GHSA-9qc3-h48f-7h96
Last source
FIRST EPSS
Score
7.2
Cvss version
3.1
Cve id
CVE-2026-144408
Cvss vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
First seen by Signal
2026-12-03T22:53:32+00:00
Name
CVE-2026-144408
Is ghsa only
false
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N

Related Entities (13)

AFFECTS (6)

→[Software]npm/@intlify/shared
→[Software]npm/@intlify/core
→[Software]npm/petite-vue-i18n
→[Software]npm/vue-i18n

VULNERABLE_TO (6)

←[Software]npm/@intlify/core
←[Software]npm/@intlify/shared
←[Software]npm/vue-i18n
←[Software]npm/petite-vue-i18n

Related research

Explore deeper with Ninja Signal's threat intelligence graph

CVE-2026-144408 (CVSS v3.1 7.2) — Ninja Signal Threat Intelligence | Ninja Signal