Live threats

All CVEs / fhir

CVE-2024-51132fhir hapi_fhir

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
2.5%
probability of exploitation in 30 days · percentile 85
Auth required
No
Published
Nov 5, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-611
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for hapi_fhir.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven ca.uhn.hapi.fhir:org.hl7.fhir.convertors < 6.4.0 6.4.0 —
Maven ca.uhn.hapi.fhir:org.hl7.fhir.dstu2 < 6.4.0 6.4.0 —
Maven ca.uhn.hapi.fhir:org.hl7.fhir.dstu2016may < 6.4.0 6.4.0 —
Maven ca.uhn.hapi.fhir:org.hl7.fhir.dstu3 < 6.4.0 6.4.0 —
Maven ca.uhn.hapi.fhir:org.hl7.fhir.r4 < 6.4.0 6.4.0 —
Maven ca.uhn.hapi.fhir:org.hl7.fhir.r4b < 6.4.0 6.4.0 —
Maven ca.uhn.hapi.fhir:org.hl7.fhir.r5 < 6.4.0 6.4.0 —
Maven ca.uhn.hapi.fhir:org.hl7.fhir.utilities < 6.4.0 6.4.0 —
Maven ca.uhn.hapi.fhir:org.hl7.fhir.validation < 6.4.0 6.4.0 —

Per OSV / GitHub Advisories (GHSA-4cf2-cxp3-rjr7). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.