# CVE-2024-52007: XXE vulnerability in XSLT parsing in `org.hl7.fhir.core`

Source: https://junglewise.ai/threats/cve-2024-52007-xxe-vulnerability-in-xslt-parsing-in-org-hl7-fhir-core  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2024-11-08  
License: CC BY 4.0 with a link back

CVE-2024-52007 · Severity: low · CVSS 3.1 · Published 2024-11-08

XXE vulnerability in XSLT parsing in `org.hl7.fhir.core`

Technologies: [ca.uhn.hapi.fhir:org.hl7.fhir.dstu2016may (Maven)](https://junglewise.ai/threats/technologies/ca-uhn-hapi-fhir-org-hl7-fhir-dstu2016may), [ca.uhn.hapi.fhir:org.hl7.fhir.dstu3 (Maven)](https://junglewise.ai/threats/technologies/ca-uhn-hapi-fhir-org-hl7-fhir-dstu3), [ca.uhn.hapi.fhir:org.hl7.fhir.r4 (Maven)](https://junglewise.ai/threats/technologies/ca-uhn-hapi-fhir-org-hl7-fhir-r4), [ca.uhn.hapi.fhir:org.hl7.fhir.r4b (Maven)](https://junglewise.ai/threats/technologies/ca-uhn-hapi-fhir-org-hl7-fhir-r4b), [ca.uhn.hapi.fhir:org.hl7.fhir.r5 (Maven)](https://junglewise.ai/threats/technologies/ca-uhn-hapi-fhir-org-hl7-fhir-r5), [ca.uhn.hapi.fhir:org.hl7.fhir.utilities (Maven)](https://junglewise.ai/threats/technologies/ca-uhn-hapi-fhir-org-hl7-fhir-utilities). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2024-52007 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2024-52007 being exploited in the wild.

**How severe is CVE-2024-52007?** Low severity, with a CVSS score of 3.1, published 8 November 2024.

**Which products and versions are affected?** ca.uhn.hapi.fhir:org.hl7.fhir.dstu2016may (Maven) ECOSYSTEM:introduced=0,fixed=6.4.0; ca.uhn.hapi.fhir:org.hl7.fhir.dstu3 (Maven) ECOSYSTEM:introduced=0,fixed=6.4.0; ca.uhn.hapi.fhir:org.hl7.fhir.r4 (Maven) ECOSYSTEM:introduced=0,fixed=6.4.0; ca.uhn.hapi.fhir:org.hl7.fhir.r4b (Maven) ECOSYSTEM:introduced=0,fixed=6.4.0; and 2 more.

**Is there a fix for CVE-2024-52007?** Yes. ca.uhn.hapi.fhir:org.hl7.fhir.dstu2016may (Maven): upgrade to 6.4.0 or later; ca.uhn.hapi.fhir:org.hl7.fhir.dstu3 (Maven): upgrade to 6.4.0 or later; ca.uhn.hapi.fhir:org.hl7.fhir.r4 (Maven): upgrade to 6.4.0 or later; ca.uhn.hapi.fhir:org.hl7.fhir.r4b (Maven): upgrade to 6.4.0 or later; ca.uhn.hapi.fhir:org.hl7.fhir.r5 (Maven): upgrade to 6.4.0 or later; ca.uhn.hapi.fhir:org.hl7.fhir.utilities (Maven): upgrade to 6.4.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2024-52007?** Check whether you run ca.uhn.hapi.fhir:org.hl7.fhir.dstu2016may (Maven), ca.uhn.hapi.fhir:org.hl7.fhir.dstu3 (Maven), ca.uhn.hapi.fhir:org.hl7.fhir.r4 (Maven) or one of the others listed at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- ca.uhn.hapi.fhir:org.hl7.fhir.dstu2016may (Maven): upgrade to 6.4.0 or later

  ```sh
  # set ca.uhn.hapi.fhir:org.hl7.fhir.dstu2016may to 6.4.0 in your pom.xml or build.gradle
  ```

- ca.uhn.hapi.fhir:org.hl7.fhir.dstu3 (Maven): upgrade to 6.4.0 or later

  ```sh
  # set ca.uhn.hapi.fhir:org.hl7.fhir.dstu3 to 6.4.0 in your pom.xml or build.gradle
  ```

- ca.uhn.hapi.fhir:org.hl7.fhir.r4 (Maven): upgrade to 6.4.0 or later

  ```sh
  # set ca.uhn.hapi.fhir:org.hl7.fhir.r4 to 6.4.0 in your pom.xml or build.gradle
  ```

- ca.uhn.hapi.fhir:org.hl7.fhir.r4b (Maven): upgrade to 6.4.0 or later

  ```sh
  # set ca.uhn.hapi.fhir:org.hl7.fhir.r4b to 6.4.0 in your pom.xml or build.gradle
  ```

- ca.uhn.hapi.fhir:org.hl7.fhir.r5 (Maven): upgrade to 6.4.0 or later

  ```sh
  # set ca.uhn.hapi.fhir:org.hl7.fhir.r5 to 6.4.0 in your pom.xml or build.gradle
  ```

- ca.uhn.hapi.fhir:org.hl7.fhir.utilities (Maven): upgrade to 6.4.0 or later

  ```sh
  # set ca.uhn.hapi.fhir:org.hl7.fhir.utilities to 6.4.0 in your pom.xml or build.gradle
  ```


## Affected products

- ca.uhn.hapi.fhir:org.hl7.fhir.dstu2016may (Maven) ECOSYSTEM:introduced=0,fixed=6.4.0
- ca.uhn.hapi.fhir:org.hl7.fhir.dstu3 (Maven) ECOSYSTEM:introduced=0,fixed=6.4.0
- ca.uhn.hapi.fhir:org.hl7.fhir.r4 (Maven) ECOSYSTEM:introduced=0,fixed=6.4.0
- ca.uhn.hapi.fhir:org.hl7.fhir.r4b (Maven) ECOSYSTEM:introduced=0,fixed=6.4.0
- ca.uhn.hapi.fhir:org.hl7.fhir.r5 (Maven) ECOSYSTEM:introduced=0,fixed=6.4.0
- ca.uhn.hapi.fhir:org.hl7.fhir.utilities (Maven) ECOSYSTEM:introduced=0,fixed=6.4.0

## Identifiers

- CVE-2024-52007
- GHSA-gr3c-q7xf-47vh

## Related threats

- [HAPI FHIR SHCParser DEFLATE infinite loop denial of service](https://junglewise.ai/threats/cve-2026-81876-hapi-fhir-shcparser-deflate-infinite-loop-denial-of-service)
- [HAPI FHIR SHCParser unbounded DEFLATE decompression denial of service](https://junglewise.ai/threats/cve-2026-81875-hapi-fhir-shcparser-unbounded-deflate-decompression-denial-of)
- [HAPI FHIR ReDoS in FHIRPathEngine](https://junglewise.ai/threats/cve-2026-49485-hapi-fhir-redos-in-fhirpathengine)
- [HAPI FHIR ReDoS in FHIRPathEngine](https://junglewise.ai/threats/cve-2026-45367-hapi-fhir-redos-in-fhirpathengine)
- [HAPI FHIR XXE injection in XsltUtilities saxonTransform](https://junglewise.ai/threats/cve-2026-55471-hapi-fhir-xxe-injection-in-xsltutilities-saxontransform)
