SECURELYN

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.

Scores

9.3
CVSS 9.3 out of 10, critical severity.
0.4%
EPSS 0.4% chance of exploitation in the next 30 days.

The facts

Published
10 October 2026
Last changed
16 October 2026
NVD status
Deferred
Severity
Critical, CVSS 9.3 out of 10 (version 4.0)
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R…
Weakness
Known exploited
Not in the CISA Known Exploited Vulnerabilities catalogue in this build.
EPSS
0.4% chance of exploitation activity in the next 30 days (percentile 34).

Is there a Securelyn advisory?

Not yet. Securelyn writes plain-English advisories for the flaws that matter most to businesses. Subscribe to the digest to hear about them.

References