CVE-2026-108551: Vulnerability in Openapi-typescript-codegen

Critical. 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...

CWE-94

Exploitation
None confirmed
Severity
9.8 of 10
Attack likelihood
0.4 % in 30 days
Fix
None recorded
Patch deadline
No deadline set

Details

EU ID
EUVD-2026-96346
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-94
Published
10 Oct 2026
Last change
16 Oct 2026
Likelihood rank
Higher than 38 % of all rated vulnerabilities
Analysis status
Deferred

Affected products

Affected versions and the first fixed release

  • Openapi-typescript-codegen Through 0.31.0. No fixed version recorded

Advisories

Vendor and security advisories

Related