Cross-site Scripting vulnerability with prototype pollution in vue-i18n
intlify vue-i18n
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| @intlify/core-base npm |
|
|
| vue-i18n npm |
|
intlify vue-i18n
| Product | Affected | Fixed in |
|---|---|---|
| @intlify/core-base npm |
|
|
| vue-i18n npm |
|
9.14.210.0.5| @intlify/core npm |
|
|
| @intlify/vue-i18n-core npm |
|
|
| petite-vue-i18n npm |
|
|
vue-i18n is an internationalization plugin for Vue.js. In affected versions vue-i18n can be passed locale messages to `createI18n` or `useI18n`. When locale message ASTs are generated in development mode there is a possibility of Cross-site Scripting attack. This issue has been addressed in versions 9.14.2, and 10.0.5. Users are advised to upgrade. There are no known workarounds for this vulnerability.
From the CVE record · GitHub_M
Affected vue-i18n packages can generate vulnerable locale message ASTs in development mode when locale messages are passed to `createI18n` or `useI18n`. An attacker who can influence those messages may be able to cause cross-site scripting. The input does not specify authentication requirements or whether user interaction is needed.
Teams using @intlify/core-base, vue-i18n, @intlify/core, or @intlify/vue-i18n-core from 9.3.0 through versions before 9.14.2 or from 10.0.0 through versions before 10.0.5, or petite-vue-i18n from 10.0.0 through versions before 10.0.5, should check their installations.