MTIby Motiontic
Colour theme
VulnerabilityCVE-2026-54666GHSA-w284-33mx-6g9v

swagger-typescript-api vulnerable to code injection via unescaped OpenAPI path strings in generated method bodies

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, 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

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)