Live threats

All CVEs / acacode

CVE-2026-54666acacode swagger-typescript-api

High 8.3 No auth needed

Priority
65
CVSS 3.1
8.3
EPSS
—
Auth required
No
Published
Jul 29, 2026
Updated
Oct 23, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-74, CWE-94, CWE-1336
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for swagger-typescript-api.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm swagger-typescript-api < 13.12.2 13.12.2 npm install swagger-typescript-api@13.12.2

Per OSV / GitHub Advisories (GHSA-w284-33mx-6g9v). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.