{"id":"ghsa-ghsa-3fhm-p725-h3g3","seq":8782360,"kind":"advisory","title":"Refitter allows arbitrary code execution through unescaped OpenAPI paths","url":"https://github.com/advisories/GHSA-3fhm-p725-h3g3","permalink":"https://vulnpulse.app/items/ghsa-ghsa-3fhm-p725-h3g3","summary":"影響: nuget:Refitter < 2.1.2 → 2.1.2\nRefitter emits each OpenAPI path (the paths-object key) verbatim into a Refit [Get(\" \")] attribute string, without escaping \" or restricting characters. A crafted single-line, /-prefixed path survives Refitter's default OpenAPI validation yet closes the attribute string and the enclosing interface + namespace, injects a top-level file class with a [ModuleInitializer] method, and reopens a namespace + interface so the file stays valid. .NET runs [ModuleInitializer] methods when the generated ass…","severity":"critical","cvss":null,"techs":["dotnet"],"cves":["CVE-2026-63345"],"tags":["GHSA-3fhm-p725-h3g3","Refitter"],"source":{"id":"ghsa","name":"GitHub Advisory Database"},"published_at":"2026-11-20T00:06:04.000Z","fetched_at":"2026-11-20T20:55:51.672Z"}