MTIby Motiontic
Colour theme
VulnerabilityCVE-2026-54661GHSA-38c3-wv3c-v3xj

swagger-typescript-api vulnerable to code injection via unescaped `servers[0].url` in axios http-client template

Not on CISA KEVCVSS 8.3 (v3.1)
  • Overview

Summary

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

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

  • CVE List Source: CVE Program (cve.org)
  • GitHub Advisory DB Source: GitHub Advisory Database (CC BY 4.0)