# CVE-2024-6783: Vue client-side XSS via prototype pollution

- Severity: Medium 4.8 (CVSS:3.1, scored by HeroDevs) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.51%, higher than 44% of CVEs (2026-12-02)
- Published: 2024-07-23T15:05:57.752Z
- Modified: 2026-06-17T08:18:42.237Z
- Also known as: GHSA-g3ch-rx76-35fx
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: HeroDevs

## 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.

(As written by CVE List.)

## Affected

- vue vue: from 2.0.0 up to 2.7.16
- vuejs vue: from 2.0.0 up to 2.7.16
- vue-template-compiler (npm): from 2.0.0

## Every score

- HeroDevs: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N`
- GitHub: CVSS:3.1 4.2 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N`

## References

- <https://www.herodevs.com/vulnerability-directory/cve-2024-6783> (web)
- <https://github.com/advisories/GHSA-g3ch-rx76-35fx> (third-party-advisory)
- <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)

## Sources

- CVE List: [CVE-2024-6783](https://www.cve.org/CVERecord?id=CVE-2024-6783), CVE Terms of Use, modified 2024-08-30
- GitHub Advisory Database: [GHSA-g3ch-rx76-35fx](https://github.com/advisories/GHSA-g3ch-rx76-35fx), CC-BY-4.0, modified 2026-02-03
- NVD: [CVE-2024-6783](https://nvd.nist.gov/vuln/detail/CVE-2024-6783), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-6783 · Whole record: https://cve.day/CVE-2024-6783.json · Rebuilt by cve.day 2026-11-25T22:58:43.167Z
