Cross-site Scripting (XSS) Affecting org.webjars.npm:angular package, versions [,1.5.0-beta.2)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

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 Learn

Learn about Cross-site Scripting (XSS) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGWEBJARSNPM-479388
  • published23 Jan 2017
  • disclosed8 Sept 2015
  • creditIgor Minar

Introduced: 8 Sep 2015

CVE NOT AVAILABLE CWE-79  (opens in a new tab)

How to fix?

Upgrade org.webjars.npm:angular to version 1.5.0-beta.2 or higher.

Overview

org.webjars.npm:angular is a WebJar for angular.

Affected versions of this package are vulnerable to Cross-site Scripting (XSS). This error occurs when $sanitize sanitizer tries to check the input for possible mXSS payload and the verification errors due to the input mutating indefinitely. This could be a sign that the payload contains code exploiting an mXSS vulnerability in the browser.

mXSS attack exploit browser bugs that cause some browsers parse a certain html strings into DOM, which once serialized doesn't match the original input. These browser bugs can be exploited by attackers to create payload which looks harmless to sanitizers, but due to mutations caused by the browser are turned into dangerous code once processed after sanitization.

Details

CVSS Scores

version 3.1