Skip to content
OpenAdvisories
High · 8.9 CVE-2025-27597 EUVD-2025-7792GHSA-p2ph-7g93-hw3m

Vue I18n Prototype Pollution in `handleFlatJson`

Published Mar 7, 2025 · Updated Mar 7, 2025 · Assigned by GitHub_M

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 products

VendorProductAffectedFixed
intlify vue-i18n >= 9.1.0, < 9.14.3, >= 10.0.0-alpha.1, < 10.0.6, >= 11.0.0-beta.0, < 11.1.2 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm @intlify/core >= 9.1.0, < 9.1.11 9.1.11 GHSA-p2ph-7g93-hw3m
npm @intlify/core-base >= 9.1.0, < 9.1.11 9.1.11 GHSA-p2ph-7g93-hw3m
npm @intlify/message-resolver >= 9.1.0, < 9.1.11 9.1.11 GHSA-p2ph-7g93-hw3m
npm @intlify/vue-i18n-core >= 9.2.0, < 9.14.3 9.14.3 GHSA-p2ph-7g93-hw3m
npm @intlify/vue-i18n-core >= 10.0.0-alpha.1, < 10.0.6 10.0.6 GHSA-p2ph-7g93-hw3m
npm @intlify/vue-i18n-core >= 11.0.0-beta.0, < 11.1.2 11.1.2 GHSA-p2ph-7g93-hw3m
npm petite-vue-i18n >= 10.0.0, < 10.0.6 10.0.6 GHSA-p2ph-7g93-hw3m
npm petite-vue-i18n >= 11.0.0-beta.0, < 11.1.2 11.1.2 GHSA-p2ph-7g93-hw3m
npm vue-i18n >= 9.1.0, < 9.14.3 9.14.3 GHSA-p2ph-7g93-hw3m
npm vue-i18n >= 10.0.0-alpha.1, < 10.0.6 10.0.6 GHSA-p2ph-7g93-hw3m
npm vue-i18n >= 11.0.0-beta.0, < 11.1.2 11.1.2 GHSA-p2ph-7g93-hw3m

References