CyberRota Analysis
AI-GeneratedThe swagger-typescript-api tool is vulnerable prior to version 13.12.2, allowing an attacker to exploit the API client generation process by manipulating OpenAPI specifications. This can lead to unauthorized requests being sent to internal or link-local services, potentially exposing sensitive data or services to external threats. Organizations using this tool should prioritize upgrading to the latest version to mitigate the risk of such attacks.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD Description
swagger-typescript-api generates API clients for Fetch or Axios from OpenAPI specifications. Prior to 13.12.2, src/resolved-swagger-schema.ts warmUpRemoteSchemasCache resolves external $ref URLs and fetchRemoteSchemaDocument uses isHttpUrl to fetch any http or https target without private IP, redirect, DNS rebinding, or same-origin validation, allowing an attacker-controlled OpenAPI spec to make the generator issue requests to internal or link-local services. This issue is fixed in version 13.12.2.