CVE-2017-16018
Cross-Site Scripting (XSS) in restify
6.1
MEDIUM
CVSS 3.1
EPSS 0.22%
Description
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.
How to fix CVE-2017-16018
To remediate CVE-2017-16018, upgrade the affected package to a fixed version below.
- —upgrade to 4.1.0 or later
Is CVE-2017-16018 being exploited?
Low — EPSS is 0.2%, meaning exploitation activity has not been observed at scale.
Affected packages (1)
- >= 2.0.0, < 4.1.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |