Vulnerability · Published Mar 7, 2025 · Assigned by GitHub_M
CVE-2025-27597Vue I18n Prototype Pollution in `handleFlatJson`
High 8.9
In plain English
A high-severity prototype pollution in vue-i18n from intlify. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 50% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | @intlify/core | 9.1.11 | GHSA-p2ph-7g93-hw3m |
| npm | @intlify/core-base | 9.1.11 | GHSA-p2ph-7g93-hw3m |
| npm | @intlify/message-resolver | 9.1.11 | GHSA-p2ph-7g93-hw3m |
| npm | @intlify/vue-i18n-core | 9.14.3 | GHSA-p2ph-7g93-hw3m |
| npm | @intlify/vue-i18n-core | 10.0.6 | GHSA-p2ph-7g93-hw3m |
| npm | @intlify/vue-i18n-core | 11.1.2 | GHSA-p2ph-7g93-hw3m |
| npm | petite-vue-i18n | 11.1.2 | GHSA-p2ph-7g93-hw3m |
| npm | petite-vue-i18n | 10.0.6 | GHSA-p2ph-7g93-hw3m |
| npm | vue-i18n | 11.1.2 | GHSA-p2ph-7g93-hw3m |
| npm | vue-i18n | 10.0.6 | GHSA-p2ph-7g93-hw3m |
| npm | vue-i18n | 9.14.3 | GHSA-p2ph-7g93-hw3m |
Affected products (as reported)
Weakness: CWE-1321 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P