{"id":"CVE-2024-6783","aliases":["CVE-2024-6783","GHSA-g3ch-rx76-35fx"],"related":[],"kind":"vulnerability","state":"published","title":"Vue client-side XSS via prototype pollution","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Se ha descubierto una vulnerabilidad en Vue que permite a un atacante realizar XSS mediante contaminación de prototipos. El atacante podría cambiar la cadena de prototipos de algunas propiedades como `Object.prototype.staticClass` o `Object.prototype.staticStyle` para ejecutar código JavaScript arbitrario.","source":"nvd"}],"published":"2024-07-23T15:05:57.752Z","modified":"2026-06-17T08:18:42.237Z","severity":{"scorer":"HeroDevs","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","score":4.8,"rating":"MEDIUM"},"severities":[{"scorer":"HeroDevs","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","score":4.8,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N","score":4.2,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"semver","introduced":"2.0.0","lastAffected":"2.7.16","status":"affected"}],"vendor":"vue","product":"vue","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"2.0.0","lastAffected":"2.7.16","status":"affected"}],"vendor":"vuejs","product":"vue","cpe":"cpe:2.3:a:vuejs:vue:2.0.0:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"2.0.0","status":"affected"}],"ecosystem":"npm","package":"vue-template-compiler","purl":"pkg:npm/vue-template-compiler","source":"ghsa"}],"references":[{"url":"https://www.herodevs.com/vulnerability-directory/cve-2024-6783","tags":["web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/advisories/GHSA-g3ch-rx76-35fx","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://www.herodevs.com/vulnerability-directory/cve-2024-6783---vue-client-side-xss","tags":["x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-6783","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/vuejs/vue","tags":["package"],"sources":["ghsa"]}],"credits":["Zifeng Kang","Muxi Lyu","Yinzhi Cao"],"assigner":"HeroDevs","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2024-07-23T16:11:39.290Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-6783","url":"https://www.cve.org/CVERecord?id=CVE-2024-6783","licence":"CVE Terms of Use","modified":"2024-08-30T14:51:11.346Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-g3ch-rx76-35fx","url":"https://github.com/advisories/GHSA-g3ch-rx76-35fx","licence":"CC-BY-4.0","modified":"2026-02-03T03:15:37.764Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-6783","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-6783","licence":"Public domain","modified":"2026-06-17T08:18:42.237Z"}],"updatedAt":"2026-11-25T22:58:43.167Z","epss":{"score":0.00506,"percentile":0.4482,"date":"2026-12-02T12:00:21.000Z"}}