// Security Advisory Triage

vue-i18n escapeParameter bypass allows XSS through srcdoc

GitHub advisories — npm · published 2026-10-31 05:44 UTC
ACTION NEEDED PATCH_NOW SECURITY
WHAT CHANGEDGitHub published CVE-2026-118257 on 28 October 2026, a high-severity XSS vulnerability in vue-i18n and related packages (petite-vue-i18n, @intlify/core-base, @intlify/core, @intlify/vue-i18n-core, @intlify/shared). The escapeParameter function does not prevent XSS through srcdoc attributes in translation messages. Patched versions are vue-i18n 11.4.14 and 12.0.0-alpha.5, with corresponding fixes in all affected packages.
WHY IT MATTERSAttackers can inject executable scripts through translation strings that use srcdoc, bypassing the intended sanitization. Applications that render user-controlled or externally-sourced translation content are exposed.
WHAT TO DOCheck package.json and lock files for vue-i18n, petite-vue-i18n, or any @intlify/* package. If found, upgrade to vue-i18n 11.4.14 or 12.0.0-alpha.5 (and corresponding versions for other affected packages) in this cycle.
Model-reported confidence 85% (not measured accuracy) Primary source ↗ written by anthropic/claude-sonnet-4.5
Show the reasoning — raw diff, triage verdict, confidence
RAW DIFF
+ghsa_id: GHSA-83rm-6c8r-g728
+summary: Vue I18n: escapeParameter does not prevent XSS through srcdoc in translation messages
+severity: high
+published_at: 2026-10-28T21:06:24Z
+cve_id: CVE-2026-118257
+vulnerabilities[].package.name: vue-i18n, vue-i18n, vue-i18n, vue-i18n, petite-vue-i18n, petite-vue-i18n, petite-vue-i18n, petite-vue-i18n, @intlify/core-base, @intlify/core-base, @intlify/core-base, @intlify/core-base, @intlify/core, @intlify/core, @intlify/core, @intlify/core, @intlify/vue-i18n-core, @intlify/vue-i18n-core, @intlify/vue-i18n-core, @intlify/vue-i18n-core, @intlify/shared, @intlify/shared, @intlify/shared, @intlify/shared
+vulnerabilities[].first_patched_version: , , 11.4.14, 12.0.0-alpha.5, , , 11.4.14, 12.0.0-alpha.5, , , 11.4.14, 12.0.0-alpha.5, , , 11.4.14, 12.0.0-alpha.5, , , 11.4.14, 12.0.0-alpha.5, , , 11.4.14, 12.0.0-alpha.5
HOW IT WAS JUDGED
Triage signals below are model-reported assertions, preserved verbatim; they are not independent arithmetic verification.
triage verdictMATERIAL at 0.92, needed 0.5
triage reasoningXSS in vue-i18n, a standard JavaScript dependency, with patches available.
signalsXSS vulnerability in widely-used npm package · vue-i18n is a common dependency in JavaScript/TypeScript services · high severity rating · patched versions identified (11.4.14, 12.0.0-alpha.5) · new advisory entry with CVE assignment · escapeParameter bypass indicates sanitization failure
suppression—
triage modelanthropic/claude-haiku-4.5 ($0.00000)
writer modelanthropic/claude-sonnet-4.5 ($0.00000)