Описание
Vue I18n Allows Prototype Pollution in handleFlatJson
Vulnerability type: Prototype Pollution
Vulnerability Location(s):
Description:
The latest version of @intlify/message-resolver (9.1) and @intlify/vue-i18n-core (9.2 or later), (previous versions might also affected), is vulnerable to Prototype Pollution through the entry function(s) handleFlatJson. An attacker can supply a payload with Object.prototype setter to introduce or modify properties within the global prototype chain, causing denial of service (DoS) a the minimum consequence.
Moreover, the consequences of this vulnerability can escalate to other injection-based attacks, depending on how the library integrates within the application. For instance, if the polluted property propagates to sensitive Node.js APIs (e.g., exec, eval), it could enable an attacker to execute arbitrary commands within the application's context.
PoC:
Ссылки
- https://github.com/intlify/vue-i18n/security/advisories/GHSA-p2ph-7g93-hw3m
- https://nvd.nist.gov/vuln/detail/CVE-2025-27597
- https://github.com/intlify/vue-i18n/commit/4bb6eacda7fc2cde5687549afa0efb27ca40862a
- https://github.com/intlify/vue-i18n/commit/d21e06a7440eed8ada7f522b22fcf830b98d3a53
- https://github.com/intlify/vue-i18n/commit/fbda9988d3ddd3a1a21740d506d2c183d6b6e36a
- https://github.com/intlify/vue-i18n/commit/feaf13fcff427f2cb1d5ec8076e639506ba28f9e
- https://github.com/intlify/vue-i18n/releases/tag/v10.0.6
- https://github.com/intlify/vue-i18n/releases/tag/v11.1.2
- https://github.com/intlify/vue-i18n/releases/tag/v9.14.3
Пакеты
@intlify/message-resolver
>= 9.1.0, < 9.1.11
9.1.11
@intlify/vue-i18n-core
>= 9.2.0, < 9.14.3
9.14.3
petite-vue-i18n
>= 10.0.0, < 10.0.6
10.0.6
vue-i18n
>= 9.1.0, < 9.14.3
9.14.3
@intlify/core-base
>= 9.1.0, < 9.1.11
9.1.11
@intlify/core
>= 9.1.0, < 9.1.11
9.1.11
@intlify/vue-i18n-core
>= 10.0.0-alpha.1, < 10.0.6
11.1.2
@intlify/vue-i18n-core
>= 11.0.0-beta.0, < 11.1.2
11.1.2
petite-vue-i18n
>= 11.0.0-beta.0, < 11.1.2
11.1.2
vue-i18n
>= 10.0.0-alpha.1, < 10.0.6
10.0.6
vue-i18n
>= 11.0.0-beta.0, < 11.1.2
11.1.2
Связанные уязвимости
Vue I18n is the internationalization plugin for Vue.js. @intlify/message-resolver and @intlify/vue-i18n-core are vulnerable to Prototype Pollution through the entry function: handleFlatJson. An attacker can supply a payload with Object.prototype setter to introduce or modify properties within the global prototype chain, causing denial of service (DoS) a the minimum consequence. Moreover, the consequences of this vulnerability can escalate to other injection-based attacks, depending on how the library integrates within the application. For instance, if the polluted property propagates to sensitive Node.js APIs (e.g., exec, eval), it could enable an attacker to execute arbitrary commands within the application's context.