VulnerabilityCVE-2026-54662GHSA-hqj5-cw9f-rx67
swagger-typescript-api vulnerable to code injection via unescaped `servers[0].url` in fetch http-client template
Not on CISA KEVCVSS 8.3 (v3.1)
Summary
swagger-typescript-api generates API clients for Fetch or Axios from OpenAPI specifications. Prior to 13.12.2, src/code-gen-process.ts createApiConfig copies servers[0].url into apiConfig.baseUrl, and templates/base/http-clients/fetch-http-client.ejs interpolates apiConfig.baseUrl into the
See the full record, free
- Every source, score and reference in one place
- Timeline and related records
- Watch an entry and get an alert when it changes
Sources and credits
- CISA Vulnrichment Source: CISA Vulnrichment
- CVE List Source: CVE Program (cve.org)
- GitHub Advisory DB Source: GitHub Advisory Database (CC BY 4.0)