Arbitrary Script Injection Affecting angular package, versions <1.1.5
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID npm:angular:20130625
- published 23 Jan 2017
- disclosed 24 Jun 2013
- credit Chirayu Krishnappa, Igor Minar
How to fix?
Upgrade angular
to version 1.1.5 or higher.
Overview
angular is a package that lets you write client-side web applications as if you had a smarter browser. It also lets you use HTML as your template language and lets you extend HTML’s syntax to express your application’s components clearly and succinctly.
Affected versions of this package are vulnerable to Arbitrary Script Injection due to improper sanitization of the $event
object passed to the native constructor functions. That isn't protected by the fast paths in $parse
.
References
CVSS Scores
version 3.1