Vue I18n: sanitizeTranslatedHtml bypass via unterminated attribute values
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 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…
Assessment
- CVSS
- 7.2 (v3.1)
- Severity
- High
- EPSS
- 0% chance of exploitation in the next 30 days
- Known exploited
- Not listed in CISA KEV
- Exploit availability
- Nothing found in Exploit-DB, Metasploit, Nuclei or public PoC repositories
- Published
- 4 December 2026
- Last updated
- 4 December 2026
- Affected
- intlify · vue-i18n · vue-i18n · petite-vue-i18n · @intlify/core-base · @intlify/core
- Weakness
- CWE-79
- Assigner
- GitHub_M
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
At the source
References
- https://github.com/intlify/vue-i18n/security/advisories/GHSA-9qc3-h48f-7h96
- https://nvd.nist.gov/vuln/detail/CVE-2026-144408
- https://github.com/intlify/vue-i18n/pull/2769
- https://github.com/intlify/vue-i18n/commit/addbc3aa1bebb5542541c4ef08968e2cd0ea2d71
- https://github.com/intlify/vue-i18n/commit/ef52989d0dde9e12fa3c7fc25494b306f7f05d93
- https://github.com/intlify/vue-i18n/releases/tag/v11.4.19
- https://github.com/intlify/vue-i18n/releases/tag/v12.0.0-alpha.10
- https://github.com/advisories/GHSA-9qc3-h48f-7h96
Community proofs of concept
No community proof of concept yet. If you have one for a published vulnerability and the right to share it, add it below — it will appear here once reviewed.
Submit a proof of concept
Only for publicly disclosed vulnerabilities, and only material from testing you were authorised to perform. This platform does not buy, sell, or broker exploits — see earning from vulnerability research for legitimate bounty programs. Submissions are reviewed before they appear. Text only; do not include live credentials, personal data, or anything targeting systems you are not permitted to test.
Query this programmatically
Agents can read this through the MCP endpoint, or over HTTP:
curl https://cve.zerocrew.in/api/cve/CVE-2026-144408