Vue i18n v11.4.21
intlify/vue-i18n
Summary
In version 11.4.21 of Vue i18n, a security fix was implemented to ensure that non-string parameters (like arrays or objects) are escaped as text, enhancing safety when handling various parameter types. This change maintains the original parameter types for message functions.
Full release notes
escapeParameter: A parameter that is not a string, such as an array or an object, is now escaped after it is turned into text, in the same way as a string parameter. Message functions still receive the parameters as they are passed. (#2792) See GHSA-4fx6-3h3f-fh66.
What's Changed
🔒 Security Fixes
- fix(core-base): escape the text of non-string parameters with escapeParameter by @kazupon in https://github.com/intlify/vue-i18n/pull/2792
Full Changelog: https://github.com/intlify/vue-i18n/compare/v11.4.20...v11.4.21