restify@2.6.2 vulnerabilities

REST framework

Direct Vulnerabilities

Known vulnerabilities in the restify package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • M
Cross-site Scripting (XSS)

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.

How to fix Cross-site Scripting (XSS)?

Upgrade restify to version 4.1.0 or higher.

>=2.0.0 <4.1.0