# GHSA-gvff-25cc-4f66: Path Traversal in restify-swagger-jsdoc

- Severity: High (rating, scored by GitHub)
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2020-09-03T17:15:56.000Z
- Modified: 2020-08-31T18:44:58.000Z
- Weaknesses: CWE-22

## Description

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.

(As written by GitHub Advisory Database.)

## Affected

- restify-swagger-jsdoc (npm): before 3.2.1

## References

- <https://www.npmjs.com/advisories/1037> (web)

## Sources

- GitHub Advisory Database: [GHSA-gvff-25cc-4f66](https://github.com/advisories/GHSA-gvff-25cc-4f66), CC-BY-4.0, modified 2020-08-31

---

Page: https://cve.day/GHSA-gvff-25cc-4f66 · Whole record: https://cve.day/GHSA-gvff-25cc-4f66.json · Rebuilt by cve.day 2026-11-25T22:56:45.498Z
