Cross-site Scripting (XSS) Affecting restify package, versions <4.1.0 >=2.0.0


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.1% (43rd percentile)

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 IDnpm:restify:20160225
  • published13 Feb 2017
  • disclosed24 Feb 2016
  • creditPeter Hinz

Introduced: 24 Feb 2016

CVE-2017-16018  (opens in a new tab)
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 Scores

version 3.1