The vulnerability is a classic XML External Entity (XXE) injection (CWE-611) found in the org.hl7.fhir.utilities.XsltUtilities class. The methods named saxonTransform were insecurely instantiating a Saxon TransformerFactory without disabling features that process external entities. This oversight was present in all three overloads of the saxonTransform method, making them all vulnerable.
The patch, identified in commit 01ca2ecdefec9b33204d2495fe78af8c0dc52298, rectifies this by introducing a new helper method, org.hl7.fhir.utilities.xml.XMLUtil.newXXEProtectedSaxonTransformerFactory(). This new method creates a TransformerFactory instance and explicitly disables external DTD and stylesheet access by setting the XMLConstants.ACCESS_EXTERNAL_DTD and XMLConstants.ACCESS_EXTERNAL_STYLESHEET attributes. The vulnerable saxonTransform methods were then updated to use this secure factory, thus closing the XXE vulnerability. Any application using these methods to process untrusted XML was at risk of information disclosure and SSRF.