{"id":"GHSA-mgr7-5782-6jh9","aliases":[],"status":"published","title":"The Umbraco Heartcore headless client library uses a vulnerable Refit dependency package","description":"### Impact\nThe Heartcore headless client library depends on [Refit ](https://github.com/reactiveui/refit) to assist in making HTTP requests to Heartcore public APIs. Refit recently published an advisory regarding a CRLF injection vulnerability whereby it is possible for a malicious user to smuggle additional headers or potentially body content into a request.\n\nThis shouldn't affect Heartcore client library usage as the vulnerable method - `HttpHeaders.TryAddWithoutValidation` - is not used. However, since Refit is a transient dependency for applications using this library, then any users making direct use of Refit could be vulnerable.\n\n### Patches\nThe vulnerable version of Refit has been upgraded to a secure version, as of Umbraco.Headless.Client.Net version 1.5.0, available on [Nuget](https://www.nuget.org/packages/Umbraco.Headless.Client.Net/1.5.0).\n\n### Workarounds\nIf calling Refit from your own code, set any necessary HTTP headers without use of `HttpHeaders.TryAddWithoutValidation`.\n\n### References\nSee the [original Refit advisory](https://github.com/reactiveui/refit/security/advisories/GHSA-3hxg-fxwm-8gf7) for further info.","facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-1395","CWE-93"],"published":"2025-01-13T16:18:39Z","modified":"2025-01-13T16:34:22Z","fixes":[{"ecosystem":"NuGet","package":"Umbraco.Headless.Client.Net","fixed_in":["1.5.0"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"NuGet","package":"Umbraco.Headless.Client.Net","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"1.4.1"},{"fixed":"1.5.0"}]}]},{"source":"osv","ecosystem":"NuGet","package":"Umbraco.Headless.Client.Net","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.0"}]}],"versions":["0.9.0.27621-RC","0.9.0.27622-RC","0.9.0.27906-RC","0.9.0.28041-RC","0.9.0.28188-RC","0.9.0.28348-RC","0.9.0.28847-RC","0.9.0.28874-RC","0.9.0.29124-RC","0.9.0.29125-RC","0.9.0.29126-RC","0.9.0.29224-RC","1.0.0.29753","1.0.0.31151-RC","1.0.0.31370-RC","1.1.0.31374-RC","1.1.0.31402-RC","1.1.0.31406","1.1.0.31470-RC","1.1.1","1.2.0","1.2.1","1.3.0","1.3.1","1.3.2","1.3.3","1.3.4","1.3.5","1.4.0","1.4.1"]}],"references":[{"url":"https://github.com/reactiveui/refit/security/advisories/GHSA-3hxg-fxwm-8gf7","tags":["web"]},{"url":"https://github.com/umbraco/Umbraco.Headless.Client.Net/security/advisories/GHSA-mgr7-5782-6jh9","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-51501","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-mgr7-5782-6jh9"},{"url":"https://github.com/umbraco/Umbraco.Headless.Client.Net","tags":["package"]}],"sources":{"ghsa":[{"id":"GHSA-mgr7-5782-6jh9","title":"The Umbraco Heartcore headless client library uses a vulnerable Refit dependency package","description":"### Impact\nThe Heartcore headless client library depends on [Refit ](https://github.com/reactiveui/refit) to assist in making HTTP requests to Heartcore public APIs. Refit recently published an advisory regarding a CRLF injection vulnerability whereby it is possible for a malicious user to smuggle additional headers or potentially body content into a request.\n\nThis shouldn't affect Heartcore client library usage as the vulnerable method - `HttpHeaders.TryAddWithoutValidation` - is not used. However, since Refit is a transient dependency for applications using this library, then any users making direct use of Refit could be vulnerable.\n\n### Patches\nThe vulnerable version of Refit has been upgraded to a secure version, as of Umbraco.Headless.Client.Net version 1.5.0, available on [Nuget](https://www.nuget.org/packages/Umbraco.Headless.Client.Net/1.5.0).\n\n### Workarounds\nIf calling Refit from your own code, set any necessary HTTP headers without use of `HttpHeaders.TryAddWithoutValidation`.\n\n### References\nSee the [original Refit advisory](https://github.com/reactiveui/refit/security/advisories/GHSA-3hxg-fxwm-8gf7) for further info.\n","status":"published","published":"2025-01-13T16:18:39Z","modified":"2025-01-13T16:18:40Z","cwes":["CWE-93","CWE-1395"],"updated_at":"2026-11-02T14:38:27.067633Z"}],"osv":[{"id":"GHSA-mgr7-5782-6jh9","title":"The Umbraco Heartcore headless client library uses a vulnerable Refit dependency package","description":"### Impact\nThe Heartcore headless client library depends on [Refit ](https://github.com/reactiveui/refit) to assist in making HTTP requests to Heartcore public APIs. Refit recently published an advisory regarding a CRLF injection vulnerability whereby it is possible for a malicious user to smuggle additional headers or potentially body content into a request.\n\nThis shouldn't affect Heartcore client library usage as the vulnerable method - `HttpHeaders.TryAddWithoutValidation` - is not used. However, since Refit is a transient dependency for applications using this library, then any users making direct use of Refit could be vulnerable.\n\n### Patches\nThe vulnerable version of Refit has been upgraded to a secure version, as of Umbraco.Headless.Client.Net version 1.5.0, available on [Nuget](https://www.nuget.org/packages/Umbraco.Headless.Client.Net/1.5.0).\n\n### Workarounds\nIf calling Refit from your own code, set any necessary HTTP headers without use of `HttpHeaders.TryAddWithoutValidation`.\n\n### References\nSee the [original Refit advisory](https://github.com/reactiveui/refit/security/advisories/GHSA-3hxg-fxwm-8gf7) for further info.\n","status":"published","published":"2025-01-13T16:18:39Z","modified":"2025-01-13T16:34:22.700805Z","cwes":["CWE-1395","CWE-93"],"updated_at":"2026-11-02T15:46:51.811331Z"}]}}
