Skip to main content

CVE-2024-45294 — XXE vulnerability in org.hl7.fhir.dstu2016may

HIGH

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

Published September 6, 2024Updated February 4, 2026Source: OSV

What Should I Do?

Address in Next Maintenance Window

Low exploitation probability (1.46%). Schedule for your next planned update.

Does your project use an affected ca.uhn.hapi.fhir:org.hl7.fhir.dstu2016may version?

Paste your pom.xml to check it for CVE-2024-45294 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my pom.xml

Summary

Impact

XSLT transforms 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.

Patches

This issue has been patched in release 6.3.23

Workarounds

None.

References

MITRE CWE OWASP XML External Entity Prevention Cheat Sheet

Advisory Timeline

  • First published September 6, 2024 (811 days ago).
  • Last revised February 4, 2026 — 515 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Maven
Update ca.uhn.hapi.fhir:org.hl7.fhir.dstu2016may to 6.3.23 or later
<!-- Update pom.xml dependency version to 6.3.23 for ca.uhn.hapi.fhir:org.hl7.fhir.dstu2016may -->
Maven
Update ca.uhn.hapi.fhir:org.hl7.fhir.utilities to 6.3.23 or later
<!-- Update pom.xml dependency version to 6.3.23 for ca.uhn.hapi.fhir:org.hl7.fhir.utilities -->
Maven
Update ca.uhn.hapi.fhir:org.hl7.fhir.r4b to 6.3.23 or later
<!-- Update pom.xml dependency version to 6.3.23 for ca.uhn.hapi.fhir:org.hl7.fhir.r4b -->
Maven
Update ca.uhn.hapi.fhir:org.hl7.fhir.r5 to 6.3.23 or later
<!-- Update pom.xml dependency version to 6.3.23 for ca.uhn.hapi.fhir:org.hl7.fhir.r5 -->
Maven
Update ca.uhn.hapi.fhir:org.hl7.fhir.r4 to 6.3.23 or later
<!-- Update pom.xml dependency version to 6.3.23 for ca.uhn.hapi.fhir:org.hl7.fhir.r4 -->
Maven
Update ca.uhn.hapi.fhir:org.hl7.fhir.dstu3 to 6.3.23 or later
<!-- Update pom.xml dependency version to 6.3.23 for ca.uhn.hapi.fhir:org.hl7.fhir.dstu3 -->

After upgrading, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (6)

Affects 1 ecosystem: Maven (6).

PackageFixed In
ca.uhn.hapi.fhir:org.hl7.fhir.dstu2016may Maven · Affected: 0.0.1, 0.0.14, 0.0.2, 0.1.18 (+307 more)6.3.23
ca.uhn.hapi.fhir:org.hl7.fhir.utilities Maven · Affected: 0.0.1, 0.0.14, 0.0.2, 0.1.18 (+307 more)6.3.23
ca.uhn.hapi.fhir:org.hl7.fhir.r4b Maven · Affected: 5.6.100, 5.6.101, 5.6.102, 5.6.103 (+180 more)6.3.23
ca.uhn.hapi.fhir:org.hl7.fhir.r5 Maven · Affected: 0.0.1, 0.0.14, 0.0.2, 0.1.18 (+307 more)6.3.23
ca.uhn.hapi.fhir:org.hl7.fhir.r4 Maven · Affected: 0.0.1, 0.0.14, 0.0.2, 0.1.18 (+307 more)6.3.23
ca.uhn.hapi.fhir:org.hl7.fhir.dstu3 Maven · Affected: 0.0.1, 0.0.14, 0.0.2, 0.1.18 (+307 more)6.3.23

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-611
    XML External Entity (XXE)MITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 8.6 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
None
Availability
None

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N

Frequently Asked Questions

What is CVE-2024-45294?
XXE vulnerability in XSLT transforms in `org.hl7.fhir.core`. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.6/10).
How do I check if my project is affected by CVE-2024-45294?
CVE-2024-45294 affects ca.uhn.hapi.fhir:org.hl7.fhir.dstu2016may, ca.uhn.hapi.fhir:org.hl7.fhir.utilities and ca.uhn.hapi.fhir:org.hl7.fhir.r4b (and 3 more). It has a 1.5% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2024-45294 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
8.6

Significant impact if exploited, or exploitable with modest effort.

EPSS Score (30-day exploit probability)
1.46%
EPSS percentile: 73.8

This is an above-median EPSS score — 73.8% of tracked vulnerabilities score at or below it, putting its exploitation likelihood in the upper half of the tracked corpus.

Also Known As

GHSA-6cr6-ph3p-f5rf

Related CVEs

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my pom.xml