6.1med

CVE-2017-16018

Cross-Site Scripting (XSS) in restify

Also known as GHSA-qw3g-35hc-fcrh

Published 8 y ago · modified 4 mo ago · JSON

CVSS
6.1
v3.0 · NVD
CISA KEV
No
not known exploited
EPSS
1.0%
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.

Exploit prediction (EPSS)

0.95% probability of exploitation in the next 30 days, higher than 61% of all scored CVEs.

CVSS scores

Assigned byVersionScoreVector
NVD3.06.1CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD2.04.3AV:N/AC:M/Au:N/C:N/I:P/A:N
GitHub3.06.1CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Affected packages

EcosystemPackageAffectedFixed in
npmrestify
>=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 · x_refsource_MISC, x_transferred
  • github.com /restify/node-restify/issues/1018 · x_refsource_MISC, x_transferred
  • nvd.nist.gov /vuln/detail/CVE-2017-16018 · advisory
  • github.com /advisories/GHSA-qw3g-35hc-fcrh · advisory
  • npmjs.com /advisories/314 · web

Sources

vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.