{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-54661","published":"2026-07-29T15:16:25.440000Z","last_modified":"2026-10-23T23:10:00.157000Z","status":"Deferred","cvss":{"version":"3.1","score":8.3,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H","source":"security-advisories@github.com","primary":false},"auth":false,"cwes":["CWE-74","CWE-94","CWE-1336"],"cpes":[],"cpes_truncated":false,"vendors":["acacode"],"products":["acacode/swagger-typescript-api"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-38c3-wv3c-v3xj","ecosystem":"npm","name":"swagger-typescript-api","purl":"pkg:npm/swagger-typescript-api","ranges":[{"introduced":"0","fixed":"13.12.2"}],"versions":[],"versions_truncated":false}],"severity":"high","priority_score":65,"links":{"html_es":"/es/cve/CVE-2026-54661/","html_en":"/en/cve/CVE-2026-54661/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-54661","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-54661"},"untrusted":{"vendor_name":"acacode","product_name":"swagger-typescript-api","desc_en":"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.","affected":[{"untrusted_vendor":"acacode","untrusted_product":"swagger-typescript-api","versions":[]}],"references":[{"url":"https://github.com/acacode/swagger-typescript-api/commit/306d59acb8ffbb00f953f807b97234b21f51d9de","tags":[]},{"url":"https://github.com/acacode/swagger-typescript-api/pull/1779","tags":[]},{"url":"https://github.com/acacode/swagger-typescript-api/releases/tag/v13.12.2","tags":[]},{"url":"https://github.com/acacode/swagger-typescript-api/security/advisories/GHSA-38c3-wv3c-v3xj","tags":[]}]}}