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.
CVE-2024-6783 - Medium Severity Vulnerability
Vulnerable Library - vue-template-compiler-2.6.12.tgz
template compiler for Vue 2.0
Library home page: https://registry.npmjs.org/vue-template-compiler/-/vue-template-compiler-2.6.12.tgz
Path to dependency file: /package.json
Path to vulnerable library: /node_modules/vue-template-compiler/package.json
Dependency Hierarchy: - core-1.4.0.tgz (Root Library) - :x: **vue-template-compiler-2.6.12.tgz** (Vulnerable Library)
Found in base branch: master
Vulnerability Details
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.
Publish Date: 2024-07-23
URL: CVE-2024-6783
CVSS 3 Score Details (4.8)
Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: High - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: Low - Integrity Impact: Low - Availability Impact: None
For more information on CVSS3 Scores, click here.