{"uuid": "1a74d0b8-d47c-4624-a7e6-34f3a9e9e6e2", "vulnerability_lookup_origin": "1a89b78e-f703-45f3-bb86-59eb712668bd", "author": "9f56dd64-161d-43a6-b9c3-555944290a09", "vulnerability": "CVE-2026-108551", "type": "seen", "source": "https://infosec.exchange/users/cve/statuses/117417157854300985", "content": "CVE-2026-108551 openapi-typescript-codegen through 0.31.0 Code Injection via Handlebars Templates 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.\nhttps://www.cve.org/CVERecord?id=CVE-2026-108551https://github.com/ferdikoomen/openapi-typescript-codegen/issues/2809https://github.com/ferdikoomen/openapi-typescript-codegenhttps://github.com/ferdikoomen/openapi-typescript-codegen/blob/v0.31.0/src/templates/exportService.hbs#L89-L110https://github.com/ferdikoomen/openapi-typescript-codegen/blob/v0.31.0/src/templates/core/OpenAPI.hbs#L20-L23https://www.vulncheck.com/advisories/openapi-typescript-codegen-through-0.31.0-code-injection-via-handlebars-templates#ferdikoomen #openapi-typescript-codegen#CVE_2026_108551#bot", "creation_timestamp": "2026-10-10T14:47:24.525582Z"}