Skip to content
OpenAdvisories
Medium · 4.8 Public exploit CVE-2024-6783 EUVD-2024-2341GHSA-g3ch-rx76-35fx

Vue client-side XSS via prototype pollution

Published Jul 23, 2024 · Updated Aug 30, 2024 · 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.

Affected products

VendorProductAffectedFixed
vue vue 2.0.0 – ≤ 2.7.16 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
npm vue-template-compiler >= 2.0.0 — GHSA-g3ch-rx76-35fx

References