Every CVESearch/Get API key

CVE-2026-144409

Vue I18n: Prototype Pollution via the `locale` argument of `mergeLocaleMessage`, `mergeDateTimeFormat` and `mergeNumberFormat`

Explain with AI
ChatGPTClaudeGoogle AI
Severity
7.3High
Network attack, no privileges, no user interactionCVSS 3.1, CVE List
Exploitation
Unknown
No source reports exploitation yet.
Exploit chance
0.62% in 30 days
Percentile51st
EPSS, scored
Listed fixes
3 packages
From GitHub AdvisoriesFixed versions by package

Overview

Vue I18n is the internationalization plugin for Vue.js. From 7.0.0 until 11.4.14 and from 12.0.0-alpha.1 until 12.0.0-alpha.5, locale-indexed merge and setter APIs use attacker-controlled locale names without requiring own properties or rejecting names inherited from Object.prototype. In modern releases, mergeLocaleMessage() can write into Object.prototype through the special double-underscore proto accessor. The related setters can replace the prototype of shared message or format containers through the double-underscore proto accessor, allowing cross-instance or cross-request resource injection. Applications that pass untrusted locale values or locale-keyed resource objects can experience prototype pollution, built-in modification, denial of service, bypassed checks, or stronger gadget-dependent effects. This issue is fixed in versions 11.4.14 and 12.0.0-alpha.5.

CVSS 3.1 vector

Exploitability

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

Impact

Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
Low
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

Exploit chance over time

Scored once so far, on . The trend appears after a second daily score.

Affected

Packages 4

Affected packages
PackageAffectedFixed
vue-i18n
npm
7.0.0 up to 9.0.0
9.0.0
9.0.0 to 11.4.13
11.4.14
12.0.0-alpha.1 to 12.0.0-alpha.4
12.0.0-alpha.5
petite-vue-i18n
npm
9.2.0-alpha.7 to 11.4.13
11.4.14
12.0.0-alpha.1 to 12.0.0-alpha.4
12.0.0-alpha.5
@intlify/vue-i18n-core
npm
9.2.0-alpha.7 to 11.4.13
11.4.14
12.0.0-alpha.1 to 12.0.0-alpha.4
12.0.0-alpha.5
vue-i18n-bridge
npm
through 10.0.0-alpha.1None listed

Products 1

Sources

CVE List Score usedCVSS 3.17.3

Vue I18n: Prototype Pollution via the `locale` argument of `mergeLocaleMessage`, `mergeDateTimeFormat` and `mergeNumberFormat`

Vue I18n is the internationalization plugin for Vue.js. From 7.0.0 until 11.4.14 and from 12.0.0-alpha.1 until 12.0.0-alpha.5, locale-indexed merge and setter APIs use attacker-controlled locale names without requiring own properties or rejecting names inherited from Object.prototype. In modern releases, mergeLocaleMessage() can write into Object.prototype through the special double-underscore proto accessor. The related setters can replace the prototype of shared message or format containers through the double-underscore proto accessor, allowing cross-instance or cross-request resource injection. Applications that pass untrusted locale values or locale-keyed resource objects can experience prototype pollution, built-in modification, denial of service, bypassed checks, or stronger gadget-dependent effects. This issue is fixed in versions 11.4.14 and 12.0.0-alpha.5.

Record
CVE-2026-144409
CVSS 3.1
7.3 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Weakness
CWE-915, CWE-1321
Updated
2026-12-04
EUVDEUVD-2026-143670CVSS 3.17.3

Vue I18n is the internationalization plugin for Vue.js. From 7.0.0 until 11.4.14 and from 12.0.0-alpha.1 until 12.0.0-alpha.5, locale-indexed merge and setter APIs use attacker-controlled locale names without requiring own properties or rejecting names inherited from Object.prototype. In modern releases, mergeLocaleMessage() can write into Object.prototype through the special double-underscore proto accessor. The related setters can replace the prototype of shared message or format containers through the double-underscore proto accessor, allowing cross-instance or cross-request resource injection. Applications that pass untrusted locale values or locale-keyed resource objects can experience prototype pollution, built-in modification, denial of service, bypassed checks, or stronger gadget-dependent effects. This issue is fixed in versions 11.4.14 and 12.0.0-alpha.5.

Record
EUVD-2026-143670
CVSS 3.1
7.3 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Updated
2026-12-03
GitHub AdvisoriesGHSA-mp7h-j8pr-w35wCVSS 3.17.3

Vue I18n: Prototype Pollution via the `locale` argument of `mergeLocaleMessage`, `mergeDateTimeFormat` and `mergeNumberFormat`

Summary

In vue-i18n v9 and later, mergeLocaleMessage(), mergeDateTimeFormat() and mergeNumberFormat() look up the entry to merge into with container[locale]. When the locale is the name of a property inherited from Object.prototype, this lookup returns a built-in object, and the methods write into it:

  • With '__proto__', all three methods write into Object.prototype.
  • With 'constructor', mergeDateTimeFormat() and mergeNumberFormat() write into the global Object. A format with a key such as keys replaces Object.keys.
  • With the names of most other Object.prototype methods, such as 'toString', mergeDateTimeFormat() and mergeNumberFormat() write into those built-in functions.

setLocaleMessage(), setDateTimeFormat() and setNumberFormat() do not write into built-in objects, but with '__proto__' they replace the prototype of the container: the messages, datetimeFormats or numberFormats object passed to createI18n() or useI18n(), which vue-i18n uses as is, without copying. The given object then supplies messages or formats for locales that have none of their own, in every instance that uses the same object.

An application that passes an untrusted value as the locale (for example, one taken from a URL parameter, a cookie or the Accept-Language header) lets an attacker pollute the global prototype chain, modify built-in objects, or inject messages. useI18n({ useScope: 'global' }) passes the keys of its messages, datetimeFormats and numberFormats options to these methods as locales, so untrusted keys there (for example, from JSON.parse) have the same effect.

This affects the methods of the global and local composers (i18n.global, useI18n()) and of the Legacy API VueI18n instance (v9 to v11), in server-side rendering and in the browser. Stable releases of petite-vue-i18n have no datetime or number format APIs, so only mergeLocaleMessage() and setLocaleMessage() with '__proto__' apply there.

vue-i18n v7 and v8 (for Vue 2) and vue-i18n-bridge are also affected:

  • From vue-i18n 7.0.2, mergeDateTimeFormat() and mergeNumberFormat() write into built-in objects, and so does mergeLocaleMessage() up to 8.15.2.
  • From vue-i18n 7.0.0 to 7.6.0, setLocaleMessage(), setDateTimeFormat() and setNumberFormat() with '__proto__' replace the prototype of the container, as described above. In 7.0.0 and 7.0.1, mergeLocaleMessage() with '__proto__' does the same.
  • vue-i18n-bridge is affected through mergeDateTimeFormat(), mergeNumberFormat() and the three setters.

Details

The three methods look up the object to merge into with container[locale], and then copy into it (composer.ts in v11.4.13):

function mergeLocaleMessage(locale, message) {
  _messages.value[locale] = _messages.value[locale] || {}
  // ...
  deepCopy(message, _messages.value[locale])
}

function mergeDateTimeFormat(locale, format) {
  _datetimeFormats.value[locale] = assign(_datetimeFormats.value[locale] || {}, format)
  // ...
}

function mergeNumberFormat(locale, format) {
  _numberFormats.value[locale] = assign(_numberFormats.value[locale] || {}, format)
  // ...
}

The containers are ordinary objects, so container[locale] also finds properties inherited from Object.prototype:

  • For '__proto__', the lookup goes through the __proto__ accessor and returns Object.prototype. deepCopy() and assign() (Object.assign) then copy the given keys onto Object.prototype. deepCopy() skips __proto__ keys in its source (the fix for CVE-2024-52810), but it does not check its destination.
  • For 'constructor', the lookup returns the global Object, and assign() copies the given keys onto it. For 'toString', 'valueOf' and most other methods of Object.prototype, it returns that built-in function. When the containers are Vue reactive proxies,…
Record
GHSA-mp7h-j8pr-w35w
CVSS 3.1
7.3 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Weakness
CWE-915, CWE-1321
Updated
2026-12-04
NVDCVSS 3.17.3

Vue I18n is the internationalization plugin for Vue.js. From 7.0.0 until 11.4.14 and from 12.0.0-alpha.1 until 12.0.0-alpha.5, locale-indexed merge and setter APIs use attacker-controlled locale names without requiring own properties or rejecting names inherited from Object.prototype. In modern releases, mergeLocaleMessage() can write into Object.prototype through the special double-underscore proto accessor. The related setters can replace the prototype of shared message or format containers through the double-underscore proto accessor, allowing cross-instance or cross-request resource injection. Applications that pass untrusted locale values or locale-keyed resource objects can experience prototype pollution, built-in modification, denial of service, bypassed checks, or stronger gadget-dependent effects. This issue is fixed in versions 11.4.14 and 12.0.0-alpha.5.

Record
CVE-2026-144409
CVSS 3.1
7.3 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Weakness
CWE-915, CWE-1321
Updated
2026-12-04
OSVCVSS 3.17.3

Vue I18n: Prototype Pollution via the `locale` argument of `mergeLocaleMessage`, `mergeDateTimeFormat` and `mergeNumberFormat`

Vue I18n is the internationalization plugin for Vue.js. From 7.0.0 until 11.4.14 and from 12.0.0-alpha.1 until 12.0.0-alpha.5, locale-indexed merge and setter APIs use attacker-controlled locale names without requiring own properties or rejecting names inherited from Object.prototype. In modern releases, mergeLocaleMessage() can write into Object.prototype through the special double-underscore proto accessor. The related setters can replace the prototype of shared message or format containers through the double-underscore proto accessor, allowing cross-instance or cross-request resource injection. Applications that pass untrusted locale values or locale-keyed resource objects can experience prototype pollution, built-in modification, denial of service, bypassed checks, or stronger gadget-dependent effects. This issue is fixed in versions 11.4.14 and 12.0.0-alpha.5.

Record
CVE-2026-144409
CVSS 3.1
7.3 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Weakness
CWE-1321, CWE-915
Updated
2026-12-04

The JSON record also has the rest of 1 source description.

History

Recorded by Every CVE

Changes recorded by Every CVE
DayChangedSources
Affected packages, key facts, references
4 sourcesShow lessCVE List, GitHub Advisories, NVD, OSV
Other IDs, referencesOSV
Other IDs, published dateEUVD, NVD
First indexedCVE List

Upstream dates may differ.

References

MoveEnter Open