BreachSpiderVerified, not vibes

CVE-2024-52007 in Fhir products

High 8.6

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 produc...

Affects 0 products from 3 vendors. Facts below cite their sources.

CVSS 3.18.6
EPSS1.6%
EPSS percentile76th
FixUnknown

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, can impact systems beyond the vulnerable component, full confidentiality impact, no integrity impact, no availability impact.

Affected products and versions

VendorProductAffected versions
Fhir — —
Hapi — —
Passwd — —

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2024-52007
BreachSpider IDBS-2024-GLOBAL-220029-H
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
Published2024-11-08
Last modified2026-04-15
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-611: CWE-611

Related attack patterns (CAPEC)

CAPEC-221 Data Serialization External Entities Blowup via CWE-611

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

HAPI FHIR, a Java implementation of the HL7 FHIR standard, is vulnerable to XML External Entity (XXE) injection due to improper handling of XSLT parsing. This could allow an attacker to access sensitive files on the server.

An attacker can craft a malicious XML file with a DTD that references external entities, such as local files on the server. When this XML is processed by HAPI FHIR, it can lead to disclosure of sensitive information.

Questions

What is CVE-2024-52007?

HAPI FHIR, a Java implementation of the HL7 FHIR standard, is vulnerable to XML External Entity (XXE) injection due to improper handling of XSLT parsing. This could allow an attacker to access sensitive files on the server.

What is the CVSS score for CVE-2024-52007?

CVE-2024-52007 has CVSS 8.6 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N. EPSS: 1.6%.

Is CVE-2024-52007 actively exploited?

No confirmed active exploitation of CVE-2024-52007 as of 2026-05-30.

How do I remediate CVE-2024-52007?

Priority: HIGH.

What systems are affected by CVE-2024-52007?

CVE-2024-52007 affects Fhir; Hapi; Passwd.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Fhir","product":"EDS-518A","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-04-15.