{"answers":{"affected":"18 open source packages ship an affected version, including @intlify/vue-i18n-core, @intlify/core and @intlify/core-base.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-52809 exists.","fix":"Upgrade @intlify/vue-i18n-core to a fixed version for your release line: 10.0.5 or 9.14.2.","what":"CVE-2024-52809 is a medium-severity cross-site scripting vulnerability in intlify vue-i18n, published on 29 Nov 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2024-52809 and fix it if it is affected.\n\nWhat it is: CVE-2024-52809 is a medium-severity cross-site scripting vulnerability in intlify vue-i18n, published on 29 Nov 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-52809 exists.\n\nAffected packages and fixed versions:\n- @intlify/vue-i18n-core (npm): affected from 10.0.0; fixed in 10.0.5\n- @intlify/vue-i18n-core (npm): affected from 10.0.0; fixed in 10.0.5\n- @intlify/vue-i18n-core (npm): affected from 9.3.0; fixed in 9.14.2\n- @intlify/vue-i18n-core (npm): affected from 9.3.0; fixed in 9.14.2\n- @intlify/core (npm): affected from 10.0.0; fixed in 10.0.5\n- @intlify/core (npm): affected from 10.0.0; fixed in 10.0.5\n- @intlify/core (npm): affected from 9.3.0; fixed in 9.14.2\n- @intlify/core (npm): affected from 9.3.0; fixed in 9.14.2\n- @intlify/core-base (npm): affected from 10.0.0; fixed in 10.0.5\n- @intlify/core-base (npm): affected from 10.0.0; fixed in 10.0.5\n- @intlify/core-base (npm): affected from 9.3.0; fixed in 9.14.2\n- @intlify/core-base (npm): affected from 9.3.0; fixed in 9.14.2\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-52809/ (Markdown: https://insights.sbomify.com/CVE-2024-52809/index.md)","id":"CVE-2024-52809","markdown":"https://insights.sbomify.com/CVE-2024-52809/index.md","name":"CVE-2024-52809","record":{"aliases":["GHSA-9r9m-ffp6-9x4v"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":true,"product_category":"Vue.js i18n library","requires_auth":"none","summary":"Attackers can execute arbitrary scripts via prototype pollution in development mode when using vue-i18n, requiring an upgrade to secure the application.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":5.3,"severity":"medium","source":"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","version":"4.0"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"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.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Cross-site Scripting vulnerability with prototype pollution in vue-i18n","id":"CVE-2024-52809","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"xss","year":"2024"},"n_packages":18,"n_references":3,"next":{"headline":"Prototype Pollution in @intlify/shared \u003e=9.7.0 \u003c= 10.0.4","id":"CVE-2024-52810"},"packages":[{"ecosystem":"npm","fixed":["10.0.5"],"introduced":["10.0.0"],"last_affected":[],"package":"@intlify/core","purl":null,"source":"GHSA-9r9m-ffp6-9x4v"},{"ecosystem":"npm","fixed":["10.0.5"],"introduced":["10.0.0"],"last_affected":[],"package":"@intlify/core","purl":"pkg:npm/%40intlify/core","source":"GHSA-9r9m-ffp6-9x4v"},{"ecosystem":"npm","fixed":["9.14.2"],"introduced":["9.3.0"],"last_affected":[],"package":"@intlify/core","purl":null,"source":"GHSA-9r9m-ffp6-9x4v"},{"ecosystem":"npm","fixed":["9.14.2"],"introduced":["9.3.0"],"last_affected":[],"package":"@intlify/core","purl":"pkg:npm/%40intlify/core","source":"GHSA-9r9m-ffp6-9x4v"},{"ecosystem":"npm","fixed":["10.0.5"],"introduced":["10.0.0"],"last_affected":[],"package":"@intlify/core-base","purl":null,"source":"GHSA-9r9m-ffp6-9x4v"},{"ecosystem":"npm","fixed":["10.0.5"],"introduced":["10.0.0"],"last_affected":[],"package":"@intlify/core-base","purl":"pkg:npm/%40intlify/core-base","source":"GHSA-9r9m-ffp6-9x4v"},{"ecosystem":"npm","fixed":["9.14.2"],"introduced":["9.3.0"],"last_affected":[],"package":"@intlify/core-base","purl":null,"source":"GHSA-9r9m-ffp6-9x4v"},{"ecosystem":"npm","fixed":["9.14.2"],"introduced":["9.3.0"],"last_affected":[],"package":"@intlify/core-base","purl":"pkg:npm/%40intlify/core-base","source":"GHSA-9r9m-ffp6-9x4v"},{"ecosystem":"npm","fixed":["10.0.5"],"introduced":["10.0.0"],"last_affected":[],"package":"@intlify/vue-i18n-core","purl":null,"source":"GHSA-9r9m-ffp6-9x4v"},{"ecosystem":"npm","fixed":["10.0.5"],"introduced":["10.0.0"],"last_affected":[],"package":"@intlify/vue-i18n-core","purl":"pkg:npm/%40intlify/vue-i18n-core","source":"GHSA-9r9m-ffp6-9x4v"},{"ecosystem":"npm","fixed":["9.14.2"],"introduced":["9.3.0"],"last_affected":[],"package":"@intlify/vue-i18n-core","purl":null,"source":"GHSA-9r9m-ffp6-9x4v"},{"ecosystem":"npm","fixed":["9.14.2"],"introduced":["9.3.0"],"last_affected":[],"package":"@intlify/vue-i18n-core","purl":"pkg:npm/%40intlify/vue-i18n-core","source":"GHSA-9r9m-ffp6-9x4v"},{"ecosystem":"npm","fixed":["10.0.5"],"introduced":["10.0.0"],"last_affected":[],"package":"petite-vue-i18n","purl":null,"source":"GHSA-9r9m-ffp6-9x4v"},{"ecosystem":"npm","fixed":["10.0.5"],"introduced":["10.0.0"],"last_affected":[],"package":"petite-vue-i18n","purl":"pkg:npm/petite-vue-i18n","source":"GHSA-9r9m-ffp6-9x4v"},{"ecosystem":"npm","fixed":["10.0.5"],"introduced":["10.0.0"],"last_affected":[],"package":"vue-i18n","purl":null,"source":"GHSA-9r9m-ffp6-9x4v"},{"ecosystem":"npm","fixed":["10.0.5"],"introduced":["10.0.0"],"last_affected":[],"package":"vue-i18n","purl":"pkg:npm/vue-i18n","source":"GHSA-9r9m-ffp6-9x4v"},{"ecosystem":"npm","fixed":["9.14.2"],"introduced":["9.3.0"],"last_affected":[],"package":"vue-i18n","purl":null,"source":"GHSA-9r9m-ffp6-9x4v"},{"ecosystem":"npm","fixed":["9.14.2"],"introduced":["9.3.0"],"last_affected":[],"package":"vue-i18n","purl":"pkg:npm/vue-i18n","source":"GHSA-9r9m-ffp6-9x4v"}],"prev":{"headline":"XXE vulnerability in XSLT parsing in `org.hl7.fhir.publisher`","id":"CVE-2024-52807"},"products":["vue-i18n"],"published":"2024-11-29","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-12-02","vendors":["intlify"]},"summary":"Attackers can execute arbitrary scripts via prototype pollution in development mode when using vue-i18n, requiring an upgrade to secure the application.","url":"https://insights.sbomify.com/CVE-2024-52809/"}