Impact
The vulnerability resides in HAPI FHIR’s XHTML parser, which accepts arbitrarily deep element nesting. A maliciously crafted FHIR resource can trigger unbounded recursion, leading the parser to raise a StackOverflowError. The resulting crash disables the parsing or validation worker thread, causing a denial of service for applications that process attacker supplied FHIR JSON or XML.
Affected Systems
Affecting the HAPI FHIR core library (org.hl7.fhir.core) and related components (org.hl7.fhir.r5, org.hl7.fhir.utilities, org.hl7.fhir.validation, org.hl7.fhir.validation.cli) in any installation running a pre‑6.9.11 version. Any application or service that uses these libraries to parse or validate incoming FHIR resources is susceptible.
Risk and Exploitability
With a CVSS score of 7.5 the flaw is considered High. The EPSS score is not available, and the vulnerability is not listed in CISA KEV catalog. An attacker who can submit FHIR resources, for example through a publicly exposed API or ingestion service, can exploit the flaw remotely by uploading a deeply nested narrative, leading to service disruption.
OpenCVE Enrichment