{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "fixed": "6.4.0"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "26c445c8fc841d5e73c4662391b970f4a2bcc805"
            }
          ],
          "repo": "https://github.com/hapifhir/org.hl7.fhir.core",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-611"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/52xxx/CVE-2024-52007.json"
  },
  "details": "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 ( \u003c!DOCTYPE foo [\u003c!ENTITY example SYSTEM \"/etc/passwd\"\u003e ]\u003e 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 \u0026 #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.",
  "id": "CVE-2024-52007",
  "modified": "2026-04-01T23:08:58.085941931Z",
  "published": "2024-11-08T22:28:20.169Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://cheatsheetseries.owasp.org/cheatsheets/XML_External_Entity_Prevention_Cheat_Sheet.html#jaxp-documentbuilderfactory-saxparserfactory-and-dom4j"
    },
    {
      "type": "WEB",
      "url": "https://cwe.mitre.org/data/definitions/611.html"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/52xxx/CVE-2024-52007.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/hapifhir/org.hl7.fhir.core/security/advisories/GHSA-6cr6-ph3p-f5rf"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/hapifhir/org.hl7.fhir.core/security/advisories/GHSA-gr3c-q7xf-47vh"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-52007"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/hapifhir/org.hl7.fhir.core/issues/1571"
    },
    {
      "type": "FIX",
      "url": "https://github.com/hapifhir/org.hl7.fhir.core/pull/1717"
    }
  ],
  "related": [
    "GHSA-6cr6-ph3p-f5rf",
    "GHSA-gr3c-q7xf-47vh"
  ],
  "schema_version": "1.7.3",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "XXE vulnerability in XSLT parsing in `org.hl7.fhir.core`"
}