CVE-2026-108551
openapi-typescript-codegen through 0.31.0 contains a code injection vulnerability that allows attackers controlling an OpenAPI document to inject JavaScript by supplying unescaped values interpolated into single-quoted string literals. Attackers can embed a single quote in path keys, parameter names, servers[0].url, or info.version to execute arbitrary JavaScript when generated clients are imported or service methods called.
Published:Oct 10, 2026
Last Modified:Oct 13, 2026
EPS:Oct 10, 2026
EPSS Score:0.00415
CVSS Score:9.8
Affected Products
Vendor
Product
Action
Vendor
Ferdikoomen
Product
Openapi-typescript-codegen
Ferdikoomen
Openapi-typescript-codegen
Common Weakness Enumeration
Common Attack Pattern Enumeration and Classification (CAPEC)
References
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
