Cross-site Scripting (XSS) Affecting favico.js package, versions [,0.3.10)


Severity

Recommended
0.0
medium
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-DOTNET-FAVICOJS-60151
  • published20 Mar 2017
  • disclosed20 Mar 2017
  • creditDiego Casorran

Introduced: 20 Mar 2017

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

How to fix?

Upgrade favico.js to version 0.3.10 or higher.

Overview

favico.js is a library to manipulate the favicon, adding alert badges, render images or videos.

Affected versions of the package are vulnerable to Cross-site Scripting (XSS). The setTimeout and setInterval functions accepted strings expressions as their first argument, instead of functions explicitly. This may allow an attacker to inject script.

Details

<>

You can read more about Cross-site Scripting (XSS) on our blog.

CVSS Scores

version 3.1