{"id":"CVE-2024-51132","published":"2024-11-05T00:00:00Z","modified":"2024-11-06T19:23:22Z","title":"An XML External Entity (XXE) vulnerability in HAPI FHIR before v6.4.0 allows attackers to access sensitive information…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.01904,"percentile":0.8023,"provenance":"source"},"cwes":[{"id":"CWE-611","name":"Improper Restriction of XML External Entity Reference"}],"references":[{"url":"https://github.com/hapifhir/org.hl7.fhir.core","tags":[]},{"url":"https://github.com/JAckLosingHeart/CVE-2024-51132-POC","tags":[]}],"priority":{"score":27.9,"factors":[{"name":"EPSS percentile","points":16.05},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.86}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2024-11-02","earliestUrl":"https://github.com/JAckLosingHeart/CVE-2024-51132-POC","repos":[{"name":"JAckLosingHeart/CVE-2024-51132-POC","url":"https://github.com/JAckLosingHeart/CVE-2024-51132-POC","stars":1,"created":"2024-11-02"}]},"first":{"date":"2024-11-02","source":"PoC-in-GitHub","url":"https://github.com/JAckLosingHeart/CVE-2024-51132-POC"},"provenance":"source"},"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2024-11-06T19:21:58.220420Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"ca.uhn.hapi.fhir:org.hl7.fhir.convertors","vulnerableRanges":["<6.4.0"],"patched":["6.4.0"],"from":["GHSA-4cf2-cxp3-rjr7"],"provenance":"source"},{"ecosystem":"Maven","package":"ca.uhn.hapi.fhir:org.hl7.fhir.dstu2","vulnerableRanges":["<6.4.0"],"patched":["6.4.0"],"from":["GHSA-4cf2-cxp3-rjr7"],"provenance":"source"},{"ecosystem":"Maven","package":"ca.uhn.hapi.fhir:org.hl7.fhir.dstu2016may","vulnerableRanges":["<6.4.0"],"patched":["6.4.0"],"from":["GHSA-4cf2-cxp3-rjr7"],"provenance":"source"},{"ecosystem":"Maven","package":"ca.uhn.hapi.fhir:org.hl7.fhir.dstu3","vulnerableRanges":["<6.4.0"],"patched":["6.4.0"],"from":["GHSA-4cf2-cxp3-rjr7"],"provenance":"source"},{"ecosystem":"Maven","package":"ca.uhn.hapi.fhir:org.hl7.fhir.r4","vulnerableRanges":["<6.4.0"],"patched":["6.4.0"],"from":["GHSA-4cf2-cxp3-rjr7"],"provenance":"source"},{"ecosystem":"Maven","package":"ca.uhn.hapi.fhir:org.hl7.fhir.r4b","vulnerableRanges":["<6.4.0"],"patched":["6.4.0"],"from":["GHSA-4cf2-cxp3-rjr7"],"provenance":"source"},{"ecosystem":"Maven","package":"ca.uhn.hapi.fhir:org.hl7.fhir.r5","vulnerableRanges":["<6.4.0"],"patched":["6.4.0"],"from":["GHSA-4cf2-cxp3-rjr7"],"provenance":"source"},{"ecosystem":"Maven","package":"ca.uhn.hapi.fhir:org.hl7.fhir.utilities","vulnerableRanges":["<6.4.0"],"patched":["6.4.0"],"from":["GHSA-4cf2-cxp3-rjr7"],"provenance":"source"},{"ecosystem":"Maven","package":"ca.uhn.hapi.fhir:org.hl7.fhir.validation","vulnerableRanges":["<6.4.0"],"patched":["6.4.0"],"from":["GHSA-4cf2-cxp3-rjr7"],"provenance":"source"}],"summary":{"text":"An XML External Entity (XXE) vulnerability in HAPI FHIR, a Java implementation of the FHIR healthcare data standard, affects versions before v6.4.0 and arises from improper restriction of external entity references in XML processing. An attacker can send a crafted request containing malicious XML entities to read sensitive information or execute arbitrary code, requiring only network access with no authentication or user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:29:04Z"},"euvd":{"id":"EUVD-2024-3191","exploited":false,"provenance":"source"},"exploitRefs":["https://github.com/JAckLosingHeart/CVE-2024-51132-POC"],"lineage":{"familyId":"fam-hapifhir-org-hl7-fhir-core-cve-2024-51132","children":[{"from":"CVE-2024-51132","to":"CVE-2026-55471","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["org.hl7.fhir.utilities/src/main/java/org/hl7/fhir/utilities/xml/XMLUtil.java"],"commits":["https://github.com/hapifhir/org.hl7.fhir.core/commit/7ede053a5fca50cc2802884c661a241d51703a67","https://github.com/hapifhir/org.hl7.fhir.core/commit/01ca2ecdefec9b33204d2495fe78af8c0dc52298"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2023-24057","published":"2023-01-24","fixed":"5.6.92","kev":false},{"cve":"CVE-2023-28465","published":"2023-12-12","fixed":"5.6.106","kev":false},{"cve":"CVE-2024-45294","published":"2024-09-06","fixed":"6.3.23","kev":false,"link":{"from":"CVE-2024-45294","to":"CVE-2024-51132","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:ca.uhn.hapi.fhir:org.hl7.fhir.utilities","fromFixed":"6.3.23","toFixed":"6.4.0","daysApart":60},{"kind":"version-step","provenance":"source","package":"Maven:ca.uhn.hapi.fhir:org.hl7.fhir.dstu3","fromFixed":"6.3.23","toFixed":"6.4.0","daysApart":60}]}},{"cve":"CVE-2024-51132","published":"2024-11-05","fixed":"6.4.0","kev":false},{"cve":"CVE-2024-52007","published":"2024-11-08","fixed":"6.4.0","kev":false},{"cve":"CVE-2026-33180","published":"2026-03-20","fixed":"6.9.0","kev":false,"link":{"from":"CVE-2024-51132","to":"CVE-2026-33180","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:ca.uhn.hapi.fhir:org.hl7.fhir.convertors","fromFixed":"6.4.0","toFixed":"6.9.0","daysApart":500},{"kind":"version-step","provenance":"source","package":"Maven:ca.uhn.hapi.fhir:org.hl7.fhir.dstu2","fromFixed":"6.4.0","toFixed":"6.9.0","daysApart":500}]}},{"cve":"CVE-2026-34359","published":"2026-03-31","fixed":"6.9.4","kev":false}],"package":"Maven:ca.uhn.hapi.fhir:org.hl7.fhir.utilities"}}