GHSA-v4x8-gw49-7hv4
Path Traversal in swagger-injector
Severity by source
No source gives a CVSS score.
Trivy's own label is CRITICAL. Rated critical by GHSA.
Description
All versions of `swagger-injector` are vulnerable to Path Traversal. The package fails to sanitize URLs, allowing attackers to access server files outside of the configured `dist` folder using relative paths. ## Recommendation No fix is currently available. Consider using an alternative package until a fix is made available.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| npm::GitHub Security Advisory npm | swagger-injector | no fix listed |