cvelo
P2 · HighCVSS 7.2EPSS 0.5%

Vue I18n: sanitizeTranslatedHtml bypass via unterminated attribute values

  • CVE-2026-144408
  • GHSA-9qc3-h48f-7h96
  • EUVD-2026-143669

Description

Vue I18n is the internationalization plugin for Vue.js. In versions 9.14.5 and 10.0.8, and from 11.1.10 until 11.4.19 and 12.0.0-alpha.4 until 12.0.0-alpha.10, sanitizeTranslatedHtml() in packages/shared/src/sanitize.ts fails to inspect a javascript: URL when escapeParameter is enabled and an attacker-controlled translation ends with an unterminated href or src attribute value. When that translation is rendered as HTML during SSR, the browser continues tokenizing the value into later page markup, closes it at a later quote, and emits the element with the executable URL. This can cause stored XSS in the application origin, including an iframe variant that needs no user interaction. Client-only innerHTML fragment parsing is not affected because the incomplete tag is dropped at the end of the fragment. This issue is fixed in versions 11.4.19 and 12.0.0-alpha.10.

Text from the CVE.org record.

Recommendation

Taken from the version ranges the sources state. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.

Affected

  • intlify vue-i18n

    Affected versionsFixed in
    = 9.14.5none stated
    = 10.0.8none stated
    >= 11.1.10, < 11.4.19none stated
    >= 12.0.0-alpha.4, < 12.0.0-alpha.10none stated
  • @intlify/corenpm

    Affected versionsFixed in
    from 12.0.0-alpha.4 to before 12.0.0-alpha.1012.0.0-alpha.10
    from 11.1.10 to before 11.4.1911.4.19
  • @intlify/core-basenpm

    Affected versionsFixed in
    from 12.0.0-alpha.4 to before 12.0.0-alpha.1012.0.0-alpha.10
    from 11.1.10 to before 11.4.1911.4.19
  • @intlify/sharednpm

    Affected versionsFixed in
    from 12.0.0-alpha.4 to before 12.0.0-alpha.1012.0.0-alpha.10
    from 11.1.10 to before 11.4.1911.4.19
  • @intlify/vue-i18n-corenpm

    Affected versionsFixed in
    from 12.0.0-alpha.4 to before 12.0.0-alpha.1012.0.0-alpha.10
    from 11.1.10 to before 11.4.1911.4.19
  • petite-vue-i18nnpm

    Affected versionsFixed in
    from 12.0.0-alpha.4 to before 12.0.0-alpha.1012.0.0-alpha.10
    from 11.1.10 to before 11.4.1911.4.19
  • vue-i18nnpm

    Affected versionsFixed in
    from 12.0.0-alpha.4 to before 12.0.0-alpha.1012.0.0-alpha.10
    from 11.1.10 to before 11.4.1911.4.19

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.