swagger-client@3.22.0 vulnerabilities

SwaggerJS - a collection of interfaces for OAI specs

Direct Vulnerabilities

Known vulnerabilities in the swagger-client package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • M
Improper Input Validation

swagger-client is a SwaggerJS - a collection of interfaces for OAI specs

Affected versions of this package are vulnerable to Improper Input Validation due to improper escape of regex expression in the oas3BaseUrl function on index.js.

How to fix Improper Input Validation?

Upgrade swagger-client to version 3.27.5 or higher.

<3.27.5