{"answers":{"affected":"2 open source packages ship an affected version, including Umbraco.Headless.Client.Net.","exploited":"There is no known exploitation of GHSA-mgr7-5782-6jh9 in the wild and no public exploit code.","fix":"Upgrade Umbraco.Headless.Client.Net to 1.5.0 or later.","what":"GHSA-mgr7-5782-6jh9 is a vulnerability in Umbraco.Headless.Client.Net, published on 13 Jan 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for GHSA-mgr7-5782-6jh9 and fix it if it is affected.\n\nWhat it is: GHSA-mgr7-5782-6jh9 is a vulnerability in Umbraco.Headless.Client.Net, published on 13 Jan 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of GHSA-mgr7-5782-6jh9 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- Umbraco.Headless.Client.Net (NuGet): affected all versions; fixed in 1.5.0\n- Umbraco.Headless.Client.Net (NuGet): affected all versions; fixed in 1.5.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/GHSA-mgr7-5782-6jh9/ (Markdown: https://insights.sbomify.com/GHSA-mgr7-5782-6jh9/index.md)","id":"GHSA-mgr7-5782-6jh9","markdown":"https://insights.sbomify.com/GHSA-mgr7-5782-6jh9/index.md","name":"GHSA-mgr7-5782-6jh9","record":{"aliases":[],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_modify","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Umbraco headless client","requires_auth":"none","summary":"A vulnerable Refit dependency in the Umbraco Heartcore client library allows CRLF injection, potentially enabling header smuggling or body content manipulation.","user_interaction":"not_required","vuln_class":"other"},"analysis_generated_by":"qwen3.8-flash-next","assigner":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"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.","ecosystems":["NuGet"],"exploits":{"exploitdb":null,"first_seen":null,"github_poc":null,"max_poc_stars":null,"metasploit":null,"nuclei":null,"refs":[],"tier":null},"has_fix":true,"headline":"The Umbraco Heartcore headless client library uses a vulnerable Refit dependency package","id":"GHSA-mgr7-5782-6jh9","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":"NuGet","product":null,"products":[],"type":"other","year":"2025"},"n_packages":2,"n_references":null,"packages":[{"ecosystem":"NuGet","fixed":["1.5.0"],"introduced":["0"],"last_affected":[],"package":"Umbraco.Headless.Client.Net","purl":null,"source":"GHSA-mgr7-5782-6jh9"},{"ecosystem":"NuGet","fixed":["1.5.0"],"introduced":["0"],"last_affected":[],"package":"Umbraco.Headless.Client.Net","purl":"pkg:nuget/Umbraco.Headless.Client.Net","source":"GHSA-mgr7-5782-6jh9"}],"products":null,"published":"2025-01-13","related":[],"sources":[{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":null,"updated":null,"vendors":null},"summary":"A vulnerable Refit dependency in the Umbraco Heartcore client library allows CRLF injection, potentially enabling header smuggling or body content manipulation.","url":"https://insights.sbomify.com/GHSA-mgr7-5782-6jh9/"}