Description
HAPI FHIR is a complete implementation of the HL7 FHIR standard for healthcare interoperability in Java. Prior to 6.9.10, org.hl7.fhir.utilities.XsltUtilities saxonTransform(...) overloads instantiated a bare net.sf.saxon.TransformerFactoryImpl() without ACCESS_EXTERNAL_DTD or ACCESS_EXTERNAL_STYLESHEET restrictions, allowing an attacker who controls or can tamper with transformed XML to trigger XML External Entity injection for local file disclosure and blind XXE or SSRF to arbitrary URLs reachable from the host. This issue is fixed in version 6.9.10.
Problem types
CWE-611: Improper Restriction of XML External Entity Reference
Product status
References
github.com/...r.core/security/advisories/GHSA-2f55-g35j-5jmf
github.com/...r.core/security/advisories/GHSA-2f55-g35j-5jmf
github.com/...ommit/01ca2ecdefec9b33204d2495fe78af8c0dc52298
github.com/hapifhir/org.hl7.fhir.core/releases/tag/6.9.10