CVE-2026-54660
Published:July 29, 2026
Updated:August 05, 2026
swagger-typescript-api generates API clients for Fetch or Axios from OpenAPI specifications. Prior to 13.12.2, src/resolved-swagger-schema.ts getRemoteRequestHeaders forwards --authorizationToken to every URL fetched by fetchRemoteSchemaDocument while warmUpRemoteSchemasCache resolves external $ref URLs, allowing an attacker-controlled OpenAPI spec to exfiltrate the developer or CI bearer token to a cross-origin endpoint. This issue is fixed in version 13.12.2.
Affected Packages
https://github.com/acacode/swagger-typescript-api.git (GITHUB):
Affected version(s) >=v13.2.18 <v13.12.2Fix Suggestion:
Update to version v13.12.2swagger-typescript-api (NPM):
Affected version(s) >=1.0.0 <13.12.2Fix Suggestion:
Update to version 13.12.2swagger-typescript-api (NPM):
Affected version(s) >=1.0.0 <13.12.2Fix Suggestion:
Update to version 13.12.2Related Resources (7)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.3
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
PASSIVE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
NONE
Vulnerable System Availability
NONE
Subsequent System Confidentiality
HIGH
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.4
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE
Weakness Type (CWE)
EPSS
Base Score:
0.24