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.14.tgz
template compiler for Vue 2.0
Library home page: https://registry.npmjs.org/vue-template-compiler/-/vue-template-compiler-2.6.14.tgz
Path to dependency file: /package.json
Path to vulnerable library: /node_modules/vue-template-compiler/package.json
Dependency Hierarchy: - vuepress-1.8.2.tgz (Root Library) - core-1.8.2.tgz - :x: **vue-template-compiler-2.6.14.tgz** (Vulnerable Library)
Found in HEAD commit: 78776de9cc77d23eaeff13ab901de4a59cee0dec
Found in base branch: main
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.Step up your Open Source Security Game with Mend here