Refitter allows arbitrary code execution through unescaped OpenAPI content-type values
영향
| 패키지 | 영향받는 버전 | 수정 버전 |
|---|---|---|
| nuget:Refitter | < 2.1.2 | 2.1.2 |
Refitter emits the spec's content-type key (content map key in requestBody/responses) verbatim into a Refit [Headers("Accept: ", "Content-Type: ")] attribute string without escaping ". A crafted value survives Refitter's default OpenAPI validation, breaks out of the attribute and the enclosing interface + namespace, injects a top-level file class with a [ModuleInitializer] method, and reopens so the file stays valid. .NET runs [ModuleInitializer] methods at assembly load, so the attacker's code…
X에서 속보 받기악용·대형 유출·장애를 대응 방법과 함께.
@vulnpulse_app 팔로우2026. 11. 20. 오전 09:06, GitHub Advisory Database에서 "Refitter allows arbitrary code execution through unescaped OpenAPI content-type values"을(를) 게시했습니다 (유형: 취약점 권고). 심각도는 "긴급"(critical)입니다. 관련 기술: .NET / C#. CVE: CVE-2026-63344.