restify
Affected
- introduced
2.0.0, fixed4.1.0(semver)
Fixed versions
4.1.0
Fix
- Fixed version
4.1.0npm install [email protected]
Advisory
Also known as: CVE-2017-16018
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:
## Recommendation
Update to version 4.1.0 or later.Medium Basis: The source's own band: MODERATE
2.0.0, fixed 4.1.0 (semver)4.1.0
4.1.0npm install [email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0