Vulnerability · Published Jul 23, 2024 · Assigned by HeroDevs

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

Medium 4.8

In plain English

A medium-severity cross-site scripting in vue from vue. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 43% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code.

Severity (CVSS 3.1)4.8Medium
Exploit odds (30 days)0.5%top 56.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack tooling1Public PoC

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

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npmvue-template-compilerno fix listedGHSA-g3ch-rx76-35fx

Affected products (as reported)

VendorProductVersions
vue vue 2.0.0 – through 2.7.16

Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N

References