{"answers":{"affected":"2 open source packages ship an affected version, including vue-template-compiler.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-6783 exists.","fix":"Upgrade to a fixed version.","what":"CVE-2024-6783 is a medium-severity cross-site scripting vulnerability in vue, published on 23 Jul 2024. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-6783 and fix it if it is affected.\n\nWhat it is: CVE-2024-6783 is a medium-severity cross-site scripting vulnerability in vue, published on 23 Jul 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-6783 exists.\n\nAffected packages and fixed versions:\n- vue-template-compiler (npm): affected from 2.0.0; no fix listed\n- vue-template-compiler (npm): affected from 2.0.0; no fix listed\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-6783/ (Markdown: https://insights.sbomify.com/CVE-2024-6783/index.md)","id":"CVE-2024-6783","markdown":"https://insights.sbomify.com/CVE-2024-6783/index.md","name":"CVE-2024-6783","record":{"aliases":["CLSA-2026-1774830273","CLSA-2026-1789477857","CLSA-2026-1792340315","CLSA-2026-1793148257","CLSA-2026-1793148263","GHSA-g3ch-rx76-35fx"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Vue JavaScript library","requires_auth":"none","summary":"Attackers can execute arbitrary JavaScript in Vue applications by exploiting prototype pollution to modify static class or style properties.","user_interaction":"not_required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"HeroDevs","cpe":[],"cvss":{"score":4.8,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"A vulnerability has been discovered in Vue, that allows an attacker to perform XSS via prototype pollution. The attacker could change the prototype chain of some properties such as `Object.prototype.staticClass` or `Object.prototype.staticStyle` to execute arbitrary JavaScript code.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":"2026-05-27","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-05-27T04:30:54Z","kind":"github_poc","ref":"https://github.com/HORKimhab/CVE-2024-6783","stars":0,"title":"CVE-2024-6783 - Vue CVE"}],"tier":"weaponised"},"has_fix":true,"headline":"Vue client-side XSS via prototype pollution","id":"CVE-2024-6783","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"xss","year":"2024"},"n_packages":2,"n_references":1,"next":{"headline":"SSRF Server Side Request Forgery","id":"CVE-2024-6784"},"packages":[{"ecosystem":"npm","fixed":[],"introduced":["2.0.0"],"last_affected":[],"package":"vue-template-compiler","purl":null,"source":"GHSA-g3ch-rx76-35fx"},{"ecosystem":"npm","fixed":[],"introduced":["2.0.0"],"last_affected":[],"package":"vue-template-compiler","purl":"pkg:npm/vue-template-compiler","source":"GHSA-g3ch-rx76-35fx"}],"prev":{"headline":"Calibre Remote Code Execution","id":"CVE-2024-6782"},"products":["vue"],"published":"2024-07-23","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)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-08-30","vendors":["vue"]},"summary":"Attackers can execute arbitrary JavaScript in Vue applications by exploiting prototype pollution to modify static class or style properties.","url":"https://insights.sbomify.com/CVE-2024-6783/"}