CVE-2026-54661: swagger-typescript-api generates API clients for Fetch or Axios from an OpenAPI Specification
39
Routine
HIGH 8.3
CVE-2026-54661 is a high-severity flaw (CVSS 8.3) affecting affected software. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
swagger-typescript-api generates API clients for Fetch or Axios from an OpenAPI Specification. Prior to 13.12.2, templates/base/http-clients/axios-http-client.ejs interpolates servers[0].url from src/code-gen-process.ts into the HttpClient constructor without escaping, allowing an attacker-controlled OpenAPI spec to inject code that executes when new HttpClient() or new Api() is constructed. This issue is fixed in version 13.12.2.
Why this priority
- High severity
No fix is published yet: follow the downgrade or mitigation steps.
Publisher (CNA): GitHub, Inc.
Timeline
- Published CVE record published
- Updated Record last modified
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.