XSS in Vue

CVE-2024-6783

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.

Vulnerability class: XSS (Cross-Site Scripting)

Published · last modified .

CVSS v3 metric

CVSS v3 base score 4.8 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N.

EPSS exploit prediction

EPSS 0.005, 43.8th percentile (scored ); unchanged over 30 days. About EPSS.

Affected products

  • Vue — versions 2.0.0

Weakness classification (CWE)

Public exploits and proof-of-concept code

1 public repository with exploit or proof-of-concept code for this CVE:

Also mentioned in 3 other repositories (bio/vue-template-compiler-patched, fkie-cad/nvd-json-data-feeds, NUS-ISS-SECURE-TEAM-5/mall-admin-frontend). These reference the CVE in a list, notes or a scanner and are not exploit code for it.

References