Path Traversal in restify-swagger-jsdoc
Priority LOW 38CWE-22Published · Updated
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- —
- Confidentiality · integrity · availability
- —
- Fix status
- Fixed
No CVSS vector from any source. Fix status from GitHub.
Summary
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.
Why it matters now
Fix Fixed restify-swagger-jsdoc (npm): 3.2.1
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | restify-swagger-jsdoc (npm) | before 3.2.1 | 3.2.1 | Patch available | GHSA-gvff-25cc-4f66 |
- restify-swagger-jsdoc (npm) Vendor— Affected before 3.2.1 Fixed in 3.2.1 Patch available GHSA-gvff-25cc-4f66
Remediation
- Fix · GHSA-gvff-25cc-4f66 restify-swagger-jsdoc (npm) Fixed in 3.2.1 Advisory →
Timeline
- 2026-10-03 Threatist record created from GHSA-gvff-25cc-4f66
References
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences