Packages / vue-template-compiler / Security
vue-template-compiler vulnerable to client-side Cross-Site Scripting (XSS)
Affected releases · vue-template-compiler
- 2.x2.0.0 – 2.7.16No fix on this line yet
No release fixes it yet, not even the latest, 2.7.16.
Every release on a timeline
Not affected
0.1.0
1 release
Affected
2.0.0 – 2.7.16
92 releases, latest
What happens
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 or Object.prototype.staticStyle to execute arbitrary JavaScript code. Vue 2 has reached End-of-Life. This vulnerability has been patched in Vue 3.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.