Disclosure 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.
Source-reported weakness categories
CWE-94
Source-specific records & product guidance
Sources retain their own attribution and scoring. Follow the original record to confirm affected versions, fixed releases, and configuration conditions.
CVEProject/cvelistV5 releases · RSS-f5dee9e139662097b84b17b3e74d5544c25
Open original source · Updated Oct 10, 2026
CVE 2026-10-10_1800Z
CVE mention in publisher metadata; check the original affected versions.
CVEProject/cvelistV5 releases · RSS-6729502a4ea3125ddd379f75d3eb8cb63a6
Open original source · Updated Oct 10, 2026
CVE 2026-10-10_1700Z
CVE mention in publisher metadata; check the original affected versions.
CVEProject/cvelistV5 releases · RSS-a10ecc85ff20aad80a7e8436dd92befdcfc
Open original source · Updated Oct 10, 2026
CVE 2026-10-10_1600Z
CVE mention in publisher metadata; check the original affected versions.
CVEProject/cvelistV5 releases · RSS-5f26de48c2d7605f54c0980f1221b67644b
Open original source · Updated Oct 10, 2026
CVE 2026-10-10_1500Z
CVE mention in publisher metadata; check the original affected versions.
NIST National Vulnerability Database · NVD-CVE-2026-108551
Open original source · Updated Oct 10, 2026
Only CPE matches marked vulnerable=true are indexed. AND/OR platform conditions must be checked in the original NVD record.
Original records & references
PUBLISHED 2026-10-10T11:16:58-04:00
MODIFIED 2026-10-10T11:16:58-04:00
INGESTED 2026-10-10T20:55:17-04:00