logo

CVE-2017-16018 restify

Package

Manager: npm
Name: restify
Vulnerable Version: >=2.0.0 <4.1.0

Severity

Level: Medium

CVSS v3.1: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

EPSS: 0.00223 pctl0.44865

Details

Cross-Site Scripting (XSS) in restify Affected versions of `restify` are susceptible to a cross-site scripting vulnerability when using URL encoded script tags in a non-existent URL. ## Proof of Concept: Request ``` https://localhost:3000/no5_such3_file7.pl?%22%3E%3Cscript%3Ealert(73541);%3C/script%3E ``` Will be included in response: ```<script>alert(73541);</script>``` ## Recommendation Update to version 4.1.0 or later.

Metadata

Created: 2018-11-09T17:45:38Z
Modified: 2023-09-12T21:05:41Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/11/GHSA-qw3g-35hc-fcrh/GHSA-qw3g-35hc-fcrh.json
CWE IDs: ["CWE-79"]
Alternative ID: GHSA-qw3g-35hc-fcrh
Finding: F425
Auto approve: 1