Vue I18n: Prototype Pollution via the `locale` argument of `mergeLocaleMessage`, `mergeDateTimeFormat` and `mergeNumberFormat`
受影响
| 软件包 | 受影响版本 | 修复版本 |
|---|---|---|
| npm:vue-i18n | >= 7.0.0, < 9.0.0 | 暂无 |
| npm:vue-i18n | >= 9.0.0, <= 11.4.13 | 11.4.14 |
| npm:vue-i18n | >= 12.0.0-alpha.1, <= 12.0.0-alpha.4 | 12.0.0-alpha.5 |
| npm:petite-vue-i18n | >= 9.2.0-alpha.7, <= 11.4.13 | 11.4.14 |
| npm:petite-vue-i18n | >= 12.0.0-alpha.1, <= 12.0.0-alpha.4 | 12.0.0-alpha.5 |
显示全部 (8)
| 软件包 | 受影响版本 | 修复版本 |
|---|---|---|
| npm:@intlify/vue-i18n-core | >= 9.2.0-alpha.7, <= 11.4.13 | 11.4.14 |
| npm:@intlify/vue-i18n-core | >= 12.0.0-alpha.1, <= 12.0.0-alpha.4 | 12.0.0-alpha.5 |
| npm:vue-i18n-bridge | <= 10.0.0-alpha.1 | 暂无 |
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 replac…
2026/12/05 06:24,GitHub Advisory Database 发布了“Vue I18n: Prototype Pollution via the `locale` argument of `mergeLocaleMessage`, `mergeDateTimeFormat` and `mergeNumberFormat`”(类型:漏洞公告)。严重程度为“高危”(high)。相关技术:JavaScript / Node.js、Vue.js。CVE:CVE-2026-144409。