CVE-2026-54666

HIGH CVSS 3.1: 8.3 EPSS 0.29%
Updated Jul 30, 2026
swagger-typescript-api
Parameter Value
CVSS 8.3 (HIGH)
Fixed In 13.12.2
Type CWE-94 (Code Injection), CWE-1336 (Template Injection), CWE-74 (Injection)
Vendor swagger-typescript-api
Public PoC No

swagger-typescript-api generates API clients for Fetch or Axios from an OpenAPI Specification. Prior to 13.12.2, src/schema-routes/schema-routes.ts passes OpenAPI path keys through parseRouteName to templates/default/procedure-call.ejs and templates/modular/procedure-call.ejs without escaping JavaScript template literal interpolation, allowing an attacker-controlled path containing ${...} to execute when the generated method is called. This issue is fixed in version 13.12.2.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
High
Difficult to exploit
Privileges Required
None
No privileges needed
User Interaction
Required
User action required

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
High
Complete denial of service

CVSS Vector v3.1