GHSA-v4x8-gw49-7hv4
Path Traversal in swagger-injector
GHSA-v4x8-gw49-7hv4 is a vulnerability with no CVSS score yet in swagger-injector, published September 3, 2020. No source lists public exploit code. No source names a fixed version.
- Severity
- UnratedNo CVSS score yet
- Exploit chance
- UnscoredNo EPSS score yet
- Exploitation
- None knownNot on CISA’s or ENISA’s lists
- Fixed in
- No fix listedNo source names one
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
| Package | Affected | Fixed |
|---|---|---|
swagger-injectornpm | 0.0.0 and later | None known |
What each source reports
GitHub AdvisoriesNo score
Path Traversal in swagger-injector
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.
- Record
GHSA-v4x8-gw49-7hv4- Weakness
- CWE-22
- Updated
- 2026-11-02
OSVNo score
Path Traversal in swagger-injector
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.
- Record
GHSA-v4x8-gw49-7hv4- Weakness
- CWE-22
- Updated
- 2026-11-02
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | GitHub Advisories, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.