vue-template-compiler vulnerable to client-side Cross-Site Scripting (XSS)
Moderate severity
GitHub Reviewed
Published
Jul 23, 2024
to the GitHub Advisory Database
•
Updated Aug 30, 2024
Description
Published by the National Vulnerability Database
Jul 23, 2024
Published to the GitHub Advisory Database
Jul 23, 2024
Reviewed
Jul 23, 2024
Last updated
Aug 30, 2024
A vulnerability has been discovered in vue-template-compiler, 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
orObject.prototype.staticStyle
to execute arbitrary JavaScript code. Vue 2 has reached End-of-Life. This vulnerability has been patched in Vue 3.References