CVEfocus › CVE database › CVE-2026-118257

CVE-2026-118257Vue I18n: escapeParameter does not prevent XSS through srcdoc in translation messages

CVSS 7.2 HighEPSS 0.4% (higher than 23% of CVEs)Published 2026-10-28Updated 2026-10-29Assigner: GitHub_M

Vue I18n is the internationalization plugin for Vue.js. From 11.1.10 until 11.4.14 and from 12.0.0-alpha.4 until 12.0.0-alpha.5, sanitizeTranslatedHtml() escapes markup and event-handler text inside an iframe srcdoc value but leaves the srcdoc attribute active. Browsers decode the character references and parse the value as a same-origin nested HTML document, allowing attacker-controlled parameters or translation content placed in srcdoc to execute script when applications enable escapeParameter and render translations as HTML through v-html. Versions 9.14.5 and 10.0.8 are also affected and are no longer supported, while i18n-t rendering is not affected. This issue is fixed in versions 11.4.14 and 12.0.0-alpha.5.

CWE-116CWE-79

What to do

Fixed builds are available from npm: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

6Fixed

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
npm library@intlify/coreFixed11.4.14GHSA-83rm-6c8r-g728
npm library@intlify/core-baseFixed12.0.0-alpha.5GHSA-83rm-6c8r-g728
npm library@intlify/sharedFixed11.4.14GHSA-83rm-6c8r-g728
npm library@intlify/vue-i18n-coreFixed12.0.0-alpha.5GHSA-83rm-6c8r-g728
npm librarypetite-vue-i18nFixed12.0.0-alpha.5GHSA-83rm-6c8r-g728
npm libraryvue-i18nFixed11.4.14GHSA-83rm-6c8r-g728

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.