Hapifhir org.hl7.fhir.core
HAPI FHIR: XXE in XsltUtilities.saxonTransform via unhardened Saxon TransformerFactory
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 6.9.10
Fixed in 6.9.10
Mitigation
Upgrade org.hl7.fhir.core to 6.9.10 or later.
References
- Vendor advisory github.com/hapifhir/org.hl7.fhir.core/security…
- Patch github.com/hapifhir/org.hl7.fhir.core/commit/0…
- Release notes github.com/hapifhir/org.hl7.fhir.core/releases…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.