GHSA-gvff-25cc-4f66
HIGHPath Traversal in restify-swagger-jsdoc
Versions of restify-swagger-jsdoc prior to 3.2.1 are vulnerable to Path Traversal. The package fails to properly sanitize URLs, which may allow attackers to access server files outside the swagger-ui folder by using relative paths.
Recommendation
Upgrade to version 3.2.1 or later.
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | restify-swagger-jsdoc | < 3.2.1 | 3.2.1 |
References
History
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 3 Sep 2020)