CVE-2024-51132: HAPI FHIR XML External Entity (XXE) vulnerability
An XML External Entity (XXE) vulnerability in HAPI FHIR before v6.4.0 allows attackers to access sensitive information or execute arbitrary code via supplying a crafted request containing malicious XML entities.
Published Nov 5, 2024 · Updated Nov 6, 2024
Affected packages
ca.uhn.hapi.fhir:org.hl7.fhir.convertors
- Ecosystem
- Maven
- Affected
- < 6.4.0
- Fixed in
- 6.4.0
- Check
mvn dependency:tree -Dincludes=ca.uhn.hapi.fhir:org.hl7.fhir.convertors
ca.uhn.hapi.fhir:org.hl7.fhir.dstu2
- Ecosystem
- Maven
- Affected
- < 6.4.0
- Fixed in
- 6.4.0
- Check
mvn dependency:tree -Dincludes=ca.uhn.hapi.fhir:org.hl7.fhir.dstu2
ca.uhn.hapi.fhir:org.hl7.fhir.dstu2016may
- Ecosystem
- Maven
- Affected
- < 6.4.0
- Fixed in
- 6.4.0
- Check
mvn dependency:tree -Dincludes=ca.uhn.hapi.fhir:org.hl7.fhir.dstu2016may
ca.uhn.hapi.fhir:org.hl7.fhir.dstu3
- Ecosystem
- Maven
- Affected
- < 6.4.0
- Fixed in
- 6.4.0
- Check
mvn dependency:tree -Dincludes=ca.uhn.hapi.fhir:org.hl7.fhir.dstu3
ca.uhn.hapi.fhir:org.hl7.fhir.r4
- Ecosystem
- Maven
- Affected
- < 6.4.0
- Fixed in
- 6.4.0
- Check
mvn dependency:tree -Dincludes=ca.uhn.hapi.fhir:org.hl7.fhir.r4
ca.uhn.hapi.fhir:org.hl7.fhir.r4b
- Ecosystem
- Maven
- Affected
- < 6.4.0
- Fixed in
- 6.4.0
- Check
mvn dependency:tree -Dincludes=ca.uhn.hapi.fhir:org.hl7.fhir.r4b
ca.uhn.hapi.fhir:org.hl7.fhir.r5
- Ecosystem
- Maven
- Affected
- < 6.4.0
- Fixed in
- 6.4.0
- Check
mvn dependency:tree -Dincludes=ca.uhn.hapi.fhir:org.hl7.fhir.r5
ca.uhn.hapi.fhir:org.hl7.fhir.utilities
- Ecosystem
- Maven
- Affected
- < 6.4.0
- Fixed in
- 6.4.0
- Check
mvn dependency:tree -Dincludes=ca.uhn.hapi.fhir:org.hl7.fhir.utilities
ca.uhn.hapi.fhir:org.hl7.fhir.validation
- Ecosystem
- Maven
- Affected
- < 6.4.0
- Fixed in
- 6.4.0
- Check
mvn dependency:tree -Dincludes=ca.uhn.hapi.fhir:org.hl7.fhir.validation
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
An XML External Entity (XXE) vulnerability in HAPI FHIR before v6.4.0 allows attackers to access sensitive information or execute arbitrary code via supplying a crafted request containing malicious XML entities.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Maven vulnerabilities
All Maven entriesCVE-2026-81875
HAPI FHIR: SHCParser unbounded DEFLATE decompression causes denial of service
high7.5No fixSep 17, 2026CVE-2026-81876
HAPI FHIR: SHCParser DEFLATE infinite loop causes denial of service
high7.5Sep 17, 2026CVE-2026-49485
org.hl7.fhir.core: ReDoS via FHIRPath matches()/replaceMatches() in FHIR Validator HTTP Endpoint
high7.5Jul 9, 2026CVE-2026-55470
HAPI FHIR: Incomplete fix for CVE-2026-45367: DSTU2 FHIRPathEngine.matches() missing RegexTimeout protection allows ReDoS
high7.5Jun 17, 2026CVE-2026-55471
HAPI FHIR: XXE in XsltUtilities.saxonTransform via unhardened Saxon TransformerFactory
critical9.2Jun 17, 2026CVE-2026-45367
HAPI FHIR: ReDoS via FHIRPath matches()/replaceMatches() in FHIR Validator HTTP Endpoint
high7.5May 18, 2026
