{"id":"CVE-2024-52809","published":"2024-11-29T18:32:36Z","modified":"2024-12-02T22:24:19Z","title":"Cross-site Scripting vulnerability with prototype pollution in vue-i18n","vendor":"intlify","product":"vue-i18n","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00674,"percentile":0.53096,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/intlify/vue-i18n/security/advisories/GHSA-9r9m-ffp6-9x4v","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/intlify/vue-i18n/commit/72f0d323006fc7363b18cab62d4522dadd874411","tags":["x_refsource_MISC"]},{"url":"https://github.com/intlify/vue-i18n/commit/9f20909ef8c9232a1072d7818e12ed6d6451024d","tags":["x_refsource_MISC"]}],"priority":{"score":14.3,"factors":[{"name":"EPSS percentile","points":10.62},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"intlify","affectedVersions":[{"vendor":"intlify","product":"vue-i18n","versions":["< 9.14.2",">= 10.0.0, < 10.0.5"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2024-12-02T22:20:32.771387Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@intlify/core-base","vulnerableRanges":[">=9.3.0, <9.14.2",">=10.0.0, <10.0.5"],"patched":["9.14.2","10.0.5"],"from":["GHSA-9r9m-ffp6-9x4v"],"provenance":"source"},{"ecosystem":"npm","package":"vue-i18n","vulnerableRanges":[">=9.3.0, <9.14.2",">=10.0.0, <10.0.5"],"patched":["9.14.2","10.0.5"],"from":["GHSA-9r9m-ffp6-9x4v"],"provenance":"source"},{"ecosystem":"npm","package":"@intlify/core","vulnerableRanges":[">=9.3.0, <9.14.2",">=10.0.0, <10.0.5"],"patched":["9.14.2","10.0.5"],"from":["GHSA-9r9m-ffp6-9x4v"],"provenance":"source"},{"ecosystem":"npm","package":"@intlify/vue-i18n-core","vulnerableRanges":[">=9.3.0, <9.14.2",">=10.0.0, <10.0.5"],"patched":["9.14.2","10.0.5"],"from":["GHSA-9r9m-ffp6-9x4v"],"provenance":"source"},{"ecosystem":"npm","package":"petite-vue-i18n","vulnerableRanges":[">=10.0.0, <10.0.5"],"patched":["10.0.5"],"from":["GHSA-9r9m-ffp6-9x4v"],"provenance":"source"}],"summary":{"text":"The flaw is a cross-site scripting issue in vue-i18n, the internationalization plugin for Vue.js, affecting how locale message ASTs are generated in development mode when messages are passed to createI18n or useI18n. An attacker who can supply locale messages to those functions can inject script that executes in the page, which requires user interaction and only applies to the development-mode code path.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:39:37Z"},"euvd":{"id":"EUVD-2024-3455","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-intlify-vue-i18n-cve-2024-52809","children":[{"from":"CVE-2024-52809","to":"CVE-2025-53892","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@intlify/core-base","fromFixed":"9.14.2","toFixed":"9.14.5","daysApart":229},{"kind":"version-step","provenance":"source","package":"npm:@intlify/core-base","fromFixed":"10.0.5","toFixed":"10.0.8","daysApart":229},{"kind":"same-code","provenance":"machine","files":["packages/core-base/src/translate.ts","packages/shared/src/utils.ts"],"commits":["https://github.com/intlify/vue-i18n/commit/72f0d323006fc7363b18cab62d4522dadd874411","https://github.com/intlify/vue-i18n/commit/9f20909ef8c9232a1072d7818e12ed6d6451024d","https://github.com/intlify/vue-i18n/commit/49f982443ab8fd94ecc427b265ce97d57df94d7e","https://github.com/intlify/vue-i18n/commit/a47099619fb9b256e86341a8658ebe72e92ab099"],"basis":"shared function","functions":["translate"]}]},{"from":"CVE-2024-52809","to":"CVE-2025-27597","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["packages/vue-i18n-core/src/utils.ts"],"commits":["https://github.com/intlify/vue-i18n/commit/72f0d323006fc7363b18cab62d4522dadd874411","https://github.com/intlify/vue-i18n/commit/9f20909ef8c9232a1072d7818e12ed6d6451024d","https://github.com/intlify/vue-i18n/commit/4bb6eacda7fc2cde5687549afa0efb27ca40862a","https://github.com/intlify/vue-i18n/commit/d21e06a7440eed8ada7f522b22fcf830b98d3a53"],"basis":"shared function","functions":["handleFlatJson"]}]},{"from":"CVE-2024-52809","to":"CVE-2026-118256","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["packages/core-base/src/translate.ts"],"commits":["https://github.com/intlify/vue-i18n/commit/72f0d323006fc7363b18cab62d4522dadd874411","https://github.com/intlify/vue-i18n/commit/9f20909ef8c9232a1072d7818e12ed6d6451024d","https://github.com/intlify/vue-i18n/commit/d657ce8f4b3b6b198a8f6e3d09e2b57a5d019fb8"],"basis":"shared function","functions":["translate"]}]}],"packageHistory":[{"cve":"CVE-2025-27597","published":"2025-03-07","fixed":"9.1.11","kev":false},{"cve":"CVE-2024-52809","published":"2024-11-29","fixed":"10.0.5","kev":false},{"cve":"CVE-2025-53892","published":"2025-07-16","fixed":"11.1.10","kev":false},{"cve":"CVE-2026-118256","published":"2026-10-28","fixed":"12.0.0-alpha.5","kev":false},{"cve":"CVE-2026-118257","published":"2026-10-28","fixed":"12.0.0-alpha.5","kev":false}],"package":"npm:@intlify/core-base"}}