Impact
HAPI FHIR, a Java implementation of the HL7 FHIR standard, contains an XSLT utility that uses an unconfigured Saxon TransformerFactoryImpl, lacking ACCESS_EXTERNAL_DTD and ACCESS_EXTERNAL_STYLESHEET restrictions. This allows an attacker who can control or tamper with the XML supplied to the transform to perform XML External Entity injection, exposing local files or enabling blind SSRF to arbitrary URLs reachable from the host. The vulnerability was fixed in version 6.9.10.
Affected Systems
The vulnerability affects the org.hl7.fhir.core component of HAPI FHIR. All deployments running versions earlier than 6.9.10 are susceptible; the issue is resolved in releases starting with 6.9.10.
Risk and Exploitability
The CVSS base score of 8.7 indicates high severity. The EPSS score is less than 1 %, suggesting that the likelihood of exploitation in the wild is low at present. The flaw is not listed in the CISA KEV catalog. Attackers would need a path to supply crafted XML to the XsltUtilities.saxonTransform method, which is possible through a healthcare data exchange that accepts external XML. If achieved, the attacker could read local files or force outbound network connections from the host.
OpenCVE Enrichment
Github GHSA