CVE-2026-144406
### Summary When `escapeParameter` is enabled (`escapeParameterHtml` in the Legacy API), Vue I18n sanitizes the translated HTML with `sanitizeTranslatedHtml()`. The sanitizer reads tags in the same way as the HTML tokenizer, but it does not follow how elements open and close. An element that a translation leaves open, or an end tag that closes an element outside the translation, stays in the result. When the page is rendered on the server (SSR), the rest of the page follows the translation in the same HTML, and the browser parses it as a part of what is still open. An unclosed `<template>` hides the rest of the page, and an unclosed `<select>` takes it in. With `<object><svg>`, `<table><svg>` or `<math><mi><svg>`, the rest of the page is parsed as SVG, and a later inline `<script>` becomes an SVG script, whose character references are decoded before it runs. Text that the page puts in such a script as data, such as `"` in a serialized state, can then end a JavaScript string, and run in the origin of the application. ### Details `sanitizeTranslatedHtml()` in `packages/shared/src/sanitize.ts` turns a tag, a comment, or an element whose content is text (such as `<textarea>`) into text when it is not closed at the end of the translation (GHSA-9qc3-h48f-7h96). Other elements are kept even when they are not closed, and end tags are kept even when they close no element of the translation. In the HTML parser, an end tag closes an element only when the element is in scope. `<object>`, `<table>`, `<template>`, MathML `<mi>` and similar elements are boundaries of the scope, so the end tags of the element that holds the translation, and of the application after it, are ignored while they are open. `<svg>` inside them keeps the rest of the page in SVG until a start tag such as `<div>`, `<p>` or `<span>` leaves SVG. Some shapes need no boundary: - In a `<span>`, `<a>`, `<small>` or similar element, `<div><svg>` or `<li><svg>` keeps `<svg>` open, because the end tag of
Properties
- Severity
- medium
- Summary
- Vue I18n: escapeParameter sanitizer leaves elements open, so a translation can change how the rest of an SSR page is parsed
- Nvd fetched at
- 2026-12-06T11:16:09.893609+00:00
- Epss score
- 0.00647
- Cvss severity
- MEDIUM
- Cvss score
- 5.4
- Retrieved at
- 2026-12-06T11:17:52+00:00
- Ghsa published
- 2026-12-04T22:15:28Z
- Source url
- https://github.com/advisories/GHSA-786j-gfwp-vhm5
- Ghsa updated
- 2026-12-04T22:15:30Z
- Ghsa id
- GHSA-786j-gfwp-vhm5
- Last source
- FIRST EPSS
- Score
- 5.4
- Cvss version
- 3.1
- Cve id
- CVE-2026-144406
- Cvss vector
- CVSS:3.1/AV:N/AC:H/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-144406
- Is ghsa only
- false
- Vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N
Related Entities (14)
AFFECTS (6)
VULNERABLE_TO (6)
HAS_WEAKNESS (2)
Related research
Explore deeper with Ninja Signal's threat intelligence graph