Vue I18n Allows Prototype Pollution in `handleFlatJson`
Vulnerability type: Prototype Pollution Vulnerability Location(s):
Vulnerability type: Prototype Pollution Vulnerability Location(s):
vue-i18n can be passed locale messages to createI18n or useI18n. we can then translate them using t and $t. vue-i18n has its own syntax for local messages, and uses a message compiler to generate AST. In order to maximize the performance of the translation function, vue-i18n uses bundler plugins such as @intlify/unplugin-vue-i18n and bulder to convert the AST in advance when building the application. By using that AST as the …