XML external entityin hapifhir org.hl7.fhir.core.
No public exploit found; not on exploited lists.
HAPI FHIR is a complete implementation of the HL7 FHIR standard for healthcare interoperability in Java. XSLT parsing performed by various components are vulnerable to XML external entity injections. A processed XML file with a malicious DTD tag ( <!DOCTYPE foo [<!ENTITY example SYSTEM "/etc/passwd"> ]> could produce XML containing data from the host system. This impacts use cases where org.hl7.fhir.core is being used to within a host where external clients can submit XML. This is related to GHSA-6cr6-ph3p-f5rf, in which its fix (#1571 & #1717) was incomplete. This issue has been addressed in release version 6.4.0 and all users are advised to upgrade. There are no known workarounds for this vulnerability.
- Upgrade org.hl7.fhir.core to 6.4.0 or later.
- Upgrade ca.uhn.hapi.fhir:org.hl7.fhir.dstu3 (Maven) to 6.4.0 or later.
- Upgrade ca.uhn.hapi.fhir:org.hl7.fhir.r4 (Maven) to 6.4.0 or later.
- Upgrade ca.uhn.hapi.fhir:org.hl7.fhir.r4b (Maven) to 6.4.0 or later.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 4 Nov 2024CVE ID reserved by GitHub_M.
- 8 Nov 2024Published in the CVE List.
- 12 Nov 2024CVE record last updated.
Attack code anyone can find
Exploit maturity: No public exploit found. CISA assessment (SSVC): exploitation none.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Nothing on this page links to exploit code right now. To report anything else, write to the contact point in the legal notice.
Other org.hl7.fhir.core vulnerabilities
Same weakness: XML external entity
- github.com x_refsource_CONFIRM
- github.com x_refsource_MISC
- github.com x_refsource_MISC
- github.com x_refsource_MISC
- cheatsheetseries.owasp.org x_refsource_MISC
- cwe.mitre.org x_refsource_MISC
Patchminder. CVE-2024-52007: XML external entity in hapifhir org.hl7.fhir.core. https://patchminder.com/cve/cve-2024-52007/ (accessed 5 December 2026).