{"id":"GHSA-g3ch-rx76-35fx","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.","aliases":["CVE-2024-6783"],"modified":"2026-02-03T03:15:37.764047Z","published":"2024-07-23T15:31:09Z","database_specific":{"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2024-07-23T16:26:53Z","nvd_published_at":"2024-07-23T15:15:06Z","cwe_ids":["CWE-79"]},"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"}],"affected":[{"package":{"name":"vue-template-compiler","ecosystem":"npm","purl":"pkg:npm/vue-template-compiler"},"ranges":[{"type":"SEMVER","events":[{"introduced":"2.0.0"}]}],"database_specific":{"last_known_affected_version_range":"\u003c 3.0.0","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/07/GHSA-g3ch-rx76-35fx/GHSA-g3ch-rx76-35fx.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N"}]}