Read the docs
TI-2020-19774 Aliases GHSA-v4x8-gw49-7hv4

Path Traversal in swagger-injector

Priority LOW 38CWE-22Published · Updated

Key facts

Attack vector
—
Privileges required
—
User interaction
—
Attack complexity
—
Impact type
—
Confidentiality · integrity · availability
—
Fix status
No fix listed

No CVSS vector from any source. Fix status from GitHub.

Summary

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.

Why it matters now

Fix No fix listed No fixed version in the sources yet

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—swagger-injector (npm)0.0.0 and later—No fix listedGHSA-v4x8-gw49-7hv4
  • swagger-injector (npm) Vendor— Affected 0.0.0 and later Fixed in — No fix listed GHSA-v4x8-gw49-7hv4

Remediation

No fixed version listed by the sources yet.

Timeline

  1. 2026-10-03 Threatist record created from GHSA-v4x8-gw49-7hv4

References

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences