Cross-site Scripting (XSS) Affecting restify package, versions [2,4.1.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment 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-RESTIFY-60207
  • published13 Feb 2017
  • disclosed13 Feb 2017
  • creditPeter Hinz

Introduced: 13 Feb 2017

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

How to fix?

Upgrade restify to version 4.1.0 or higher.

Overview

restify is a REST framework.

Affected versions of the package are vulnerable to Cross-site Scripting (XSS) when routing to a non-existant url (404 error), it is possible for a malicious user to inject script tags into the url and force some browsers to execute the code in the tags.

Details

<>

For more information on XSS vulnerabilities, see our blog.

CVSS Base Scores

version 3.1