CVE-2024-6783
MEDIUM 4.8CVSS 3.1vue-template-compiler vulnerable to client-side Cross-Site Scripting (XSS)
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.
- Published
- 23 Jul 2024
- Last modified
- 17 Jun 2026
- Assigned by
- 36c7be3b-2937-45df-85ea-ca7133ea542c
- NVD status
- Deferred
- Weakness
- CWE-79
- Also known as
- GHSA-g3ch-rx76-35fx
- Sources
- NVDJSONOSV GHSA-g3ch-rx76-35fxJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 36c7be3b-2937-45df-85ea-ca7133ea542c (Secondary) | CVSS 3.1 | MEDIUM 4.8 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.2 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | vue-template-compiler | >= 2.0.0 |
References
- https://www.herodevs.com/vulnerability-directory/cve-2024-6783 · WEB
- https://github.com/advisories/GHSA-g3ch-rx76-35fx
- https://www.herodevs.com/vulnerability-directory/cve-2024-6783---vue-client-side-xss
- https://nvd.nist.gov/vuln/detail/CVE-2024-6783 · ADVISORY
- https://github.com/vuejs/vue · PACKAGE
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 23 Jul 2024)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 23 Jul 2024)