Logo
-

Byte Open Security

(ByteOS Network)

Log In

Sign Up

ByteOS

Security
Vulnerability Details
Registries
Custom Views
Weaknesses
Attack Patterns
Filters & Tools
CVE Vulnerability Details :
CVE-2026-54666
PUBLISHED
More InfoOfficial Page
Assigner-GitHub_M
Assigner Org ID-a0819718-46f1-4df5-94e2-005712e83aaa
View Known Exploited Vulnerability (KEV) details
Published At-29 Jul, 2026 | 14:34
Updated At-30 Jul, 2026 | 13:47
Rejected At-
▼CVE Numbering Authority (CNA)
swagger-typescript-api vulnerable to code injection via unescaped OpenAPI path strings in generated method bodies

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.

Affected Products
Vendor
acacode
Product
swagger-typescript-api
Versions
Affected
  • < 13.12.2
Problem Types
TypeCWE IDDescription
CWECWE-74CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
CWECWE-94CWE-94: Improper Control of Generation of Code ('Code Injection')
CWECWE-1336CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine
Type: CWE
CWE ID: CWE-74
Description: CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
Type: CWE
CWE ID: CWE-94
Description: CWE-94: Improper Control of Generation of Code ('Code Injection')
Type: CWE
CWE ID: CWE-1336
Description: CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine
Metrics
VersionBase scoreBase severityVector
3.18.3HIGH
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H
Version: 3.1
Base score: 8.3
Base severity: HIGH
Vector:
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
https://github.com/acacode/swagger-typescript-api/security/advisories/GHSA-w284-33mx-6g9v
x_refsource_CONFIRM
https://github.com/acacode/swagger-typescript-api/pull/1779
x_refsource_MISC
https://github.com/acacode/swagger-typescript-api/commit/306d59acb8ffbb00f953f807b97234b21f51d9de
x_refsource_MISC
https://github.com/acacode/swagger-typescript-api/releases/tag/v13.12.2
x_refsource_MISC
Hyperlink: https://github.com/acacode/swagger-typescript-api/security/advisories/GHSA-w284-33mx-6g9v
Resource:
x_refsource_CONFIRM
Hyperlink: https://github.com/acacode/swagger-typescript-api/pull/1779
Resource:
x_refsource_MISC
Hyperlink: https://github.com/acacode/swagger-typescript-api/commit/306d59acb8ffbb00f953f807b97234b21f51d9de
Resource:
x_refsource_MISC
Hyperlink: https://github.com/acacode/swagger-typescript-api/releases/tag/v13.12.2
Resource:
x_refsource_MISC
▼Authorized Data Publishers (ADP)
CISA ADP Vulnrichment
Affected Products
Metrics
VersionBase scoreBase severityVector
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
https://github.com/acacode/swagger-typescript-api/security/advisories/GHSA-w284-33mx-6g9v
exploit
Hyperlink: https://github.com/acacode/swagger-typescript-api/security/advisories/GHSA-w284-33mx-6g9v
Resource:
exploit
Details not found