Skip to content
CORVASEC — Knowledge Defends
Vulnerability Explorer›CVE-2026-108551
VULNERABILITY

CVE-2026-108551

Common Vulnerabilities and Exposures record

CRITICAL

Summary

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.

Risk

CVSS
9.3
Severity
CRITICAL
Vector
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:X/V:X/RE:X/U:X

Timeline

Published
Oct 10, 2026 15:16
Modified
Oct 16, 2026 19:21
Last observed
Oct 16, 2026 23:38

CWE

CWE-94

References