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.
영향 받는 제품 제품 1개
-
ferdikoomen
openapi-typescript-codegen
영향 받는 버전
- 0.31.0 이하
해결 버전
해결된 버전 정보가 없습니다.
참고 자료 5건
- github.com https://github.com/ferdikoomen/openapi-typescript-codegen (새 창)
- github.com https://github.com/ferdikoomen/openapi-typescript-codegen/blob/v0.31.0/src/templates/core/OpenAPI.hbs#L20-L23 (새 창)
- github.com https://github.com/ferdikoomen/openapi-typescript-codegen/blob/v0.31.0/src/templates/exportService.hbs#L89-L110 (새 창)
- github.com https://github.com/ferdikoomen/openapi-typescript-codegen/issues/2809 (새 창)
- vulncheck.com https://www.vulncheck.com/advisories/openapi-typescript-codegen-through-0.31.0-code-injection-via-handlebars-templates (새 창)