Arbitrary Script Injection

Affecting angular package, versions <1.1.5

Do your applications use this vulnerable package? Test your applications

Overview

angular is an open-source JavaScript framework, maintained by Google, that assists with running single-page applications with the goal of making development and testing easier by augmenting browser-based applications with model–view–controller (MVC) capability. Affected versions of the 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.

Remediation

Upgrade angular to version 1.1.5 or higher.

References

-GitHub Commit

CVSS Score

8.1
high severity
  • Attack Vector
    Network
  • Attack Complexity
    High
  • Privileges Required
    None
  • User Interaction
    None
  • Scope
    Unchanged
  • Confidentiality
    High
  • Integrity
    High
  • Availability
    High
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Credit
Chirayu Krishnappa, Igor Minar
CWE
CWE-78
Snyk ID
npm:angular:20130625
Disclosed
24 Jun, 2013
Published
23 Jan, 2017