PT-2024-35457 · Vue-I18N · Vue-I18N
Bobbie Goede
·
Published
2024-11-29
·
Updated
2024-12-02
·
CVE-2024-52809
CVSS v4.0
5.3
Medium
| Vector | AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
Name of the Vulnerable Software and Affected Versions
vue-i18n versions prior to 9.14.2
vue-i18n versions prior to 10.0.5
Description
The issue concerns a Cross-site Scripting (XSS) attack possibility in vue-i18n, an internationalization plugin for Vue.js. This occurs when locale message ASTs are generated in development mode, allowing for potential exploitation. The estimated number of potentially affected devices worldwide is not specified. There are no reported real-world incidents of this issue being exploited. Technical details include the use of
createI18n or useI18n to pass locale messages, and the generation of ASTs by the message compiler. The static property in the AST tree is one of the optimizations that can be exploited.Recommendations
For versions prior to 9.14.2, upgrade to version 9.14.2 or later.
For versions prior to 10.0.5, upgrade to version 10.0.5 or later.
As a temporary workaround for versions before v10.0.0, consider using the regular compilation way instead of jit compilation by setting
jit: false in the @intlify/unplugin-vue-i18n plugin configuration.Exploit
Fix
XSS
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Vue-I18N