CVE-2017-16018 json
Cross-Site Scripting (XSS) in restify
published 2018-06-04 8 y ago modified 2026-06-17 4 mo ago also GHSA-qw3g-35hc-fcrh , EUVD-2018-0773
- cvss
- 6.1
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.0%
- EPSS 1.0% chance of exploitation in 30 days, percentile 61%
- public exploits
- 0
- none known
Summary
Restify is a framework for building REST APIs. Restify >=2.0.0 <=4.0.4 using URL encoded script tags in a non-existent URL, an attacker can get script to run in some browsers.
Patch / fix
- npm restify 4.1.0
Exploit prediction
0.95% chance of exploitation in the next 30 days, higher than 61% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- nodesecurity.io https://nodesecurity.io/advisories/314 referenced PoC, tagged "exploit" by a source, unverified
- github.com https://github.com/restify/node-restify/issues/1018 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
| GitHub | 3.0 | 6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | restify | >=2.0.0, <4.1.0 |
4.1.0 |
Affected products
- HackerOne restify node module
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
nodesecurity.io
/advisories/314
exploit, third-party-advisory
-
github.com
/restify/node-restify/issues/1018
web, exploit, issue-tracking, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2017-16018
advisory
-
github.com
/advisories/GHSA-qw3g-35hc-fcrh
advisory
-
npmjs.com
/advisories/314
web
Sources
- CVE List CVE-2017-16018
- GitHub Advisory GHSA-qw3g-35hc-fcrh
- NVD CVE-2017-16018
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.