Vulnerability DatabaseGHSA-4x7w-frcq-v4m3

GHSA-4x7w-frcq-v4m3
JavaScript vulnerability analysis and mitigation

Overview

A critical path traversal vulnerability was identified in the @wturyn/swagger-injector npm package (GHSA-4x7w-frcq-v4m3). The vulnerability was discovered and reviewed on August 31, 2020, published to the GitHub Advisory Database on September 3, 2020, and last updated on January 9, 2023. The vulnerability affects all versions of the package (>= 0.0.0) (GitHub Advisory).

Technical details

The vulnerability is classified as CWE-22 (Path Traversal) with a Critical severity rating. The core issue lies in the package's failure to properly sanitize URLs, which creates a security weakness in the application's file handling mechanism (GitHub Advisory).

Impact

This vulnerability allows attackers to access server files outside of the configured dist folder by using relative paths, potentially exposing sensitive server-side files and information (GitHub Advisory).

Exploitability

The vulnerability exists in all versions of the package, making it highly exploitable. No specific instances of exploitation have been publicly reported, however, the critical severity rating indicates the serious nature of the potential exploit (GitHub Advisory).

Mitigation and workarounds

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).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

GHSA-7q9c-hpx7-9cwmHIGH7.5
  • JavaScript logoJavaScript
  • @typespec/spector
NoYesSep 04, 2026
CVE-2026-77465HIGH7.5
  • JavaScript logoJavaScript
  • cockpit-image-builder.src
NoYesSep 03, 2026
CVE-2026-85063MEDIUM6.9
  • JavaScript logoJavaScript
  • csv-parse
NoYesSep 03, 2026
CVE-2026-71429MEDIUM6.2
  • JavaScript logoJavaScript
  • stream-json
NoYesSep 03, 2026
GHSA-6hxq-p678-4hr2LOW2
  • JavaScript logoJavaScript
  • @simplewebauthn/server
NoYesSep 04, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management