{"id":"CVE-2024-6783","aliases":[],"url":"https://o3.security/vulnerability/CVE-2024-6783","summary":"vue-template-compiler vulnerable to client-side Cross-Site Scripting (XSS)","details":"A vulnerability has been discovered in vue-template-compiler, 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. Vue 2 has reached End-of-Life. This vulnerability has been patched in Vue 3.","published":"2024-07-23T15:31:09Z","modified":"2026-02-03T03:15:37.764047Z","cvss":{"score":4.2,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"npm","name":"vue-template-compiler","fixedVersion":null}],"fix":null,"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-6783"},{"type":"PACKAGE","url":"https://github.com/vuejs/vue"},{"type":"WEB","url":"https://www.herodevs.com/vulnerability-directory/cve-2024-6783"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-02-03T03:15:37.764047Z"}}