What is CVE-2026-54664?
CVE-2026-54664 is a code injection vulnerability in the swagger-typescript-api library. The flaw exists because enum values from an OpenAPI specification are passed to a template without proper escaping. This could allow an attacker to inject arbitrary TypeScript code into the generated API client; users should upgrade to version 13.12.2.
Azərbaycanca: CVE-2026-54664, swagger-typescript-api kitabxanasında aşkarlanmış bir kod injection zəifliyidir. Zəiflik OpenAPI spesifikasiyasındakı enum dəyərlərinin şablonlara keçirilməzdən əvvəl düzgün escape olunmaması səbəbindən yaranır. Bu, təcavüzkara yaradılan API müştəri koduna özbaşına TypeScript kodu yeritməyə imkan verə bilər; istifadəçilər 13.12.2 versiyasına yeniləmə etməlidir.
Related CVEs
link basis: same weakness class CWE-94
FAQ2
How can I protect against CVE-2026-54664?
Users should upgrade the swagger-typescript-api library to version 13.12.2.
What is the root cause of CVE-2026-54664?
The root cause is that enum values from an OpenAPI specification are passed to a template without proper escaping.
See also6
This explainer is AI-written from source data — skopnix's own reporting on this CVE; CVSS scores, vendors and versions are never invented. See NVD for the official record.