Advisory

GHSA-qw3g-35hc-fcrh

Also known as: CVE-2017-16018

Summary

Cross-Site Scripting (XSS) in restify

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2018-11-09 17:45 UTC
Modified
2023-11-08 03:58 UTC

Affected packages and fixes

restify

npm · All systems

Affected

  • introduced 2.0.0, fixed 4.1.0 (semver)

Fixed versions

4.1.0

Fix

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

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences