
Cloud Vulnerability DB
A community-led vulnerabilities database
A critical path traversal vulnerability was identified in the swagger-injector npm package (GHSA-v4x8-gw49-7hv4). The vulnerability affects all versions of the package (>= 0.0.0) and was published to the GitHub Advisory Database on September 3, 2020, with the latest update on January 9, 2023. The vulnerability stems from the package's failure to properly sanitize URLs (GitHub Advisory).
The vulnerability is classified as CWE-22 (Path Traversal) with a Critical severity rating. The core issue lies in the package's inability to properly sanitize URLs, which allows attackers to traverse directory paths outside of the configured dist folder using relative paths (GitHub Advisory).
This vulnerability enables attackers to access server files that exist outside of the intended distribution folder, potentially exposing sensitive information or critical system files (GitHub Advisory).
The vulnerability exists in all versions of the swagger-injector package, with no patched versions available. The critical severity rating suggests a high likelihood of exploitability, though no specific exploit examples have been publicly documented (GitHub Advisory).
Currently, no fix is available for this vulnerability. The recommended mitigation strategy is to consider using an alternative package until a security fix is made available (GitHub Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."