HAPI FHIR: XHTML narrative parser unbounded recursion causes StackOverflow denial of service
Overview
HAPI FHIR is a complete implementation of the HL7 FHIR standard for healthcare interoperability in Java. Prior to 6.9.11, XhtmlParser.java imposes no maximum element nesting depth, so a deeply nested text.div narrative triggers unbounded recursion between parseElementInner() and parseElement(), raising a StackOverflowError. An attacker who can submit FHIR resources containing such narratives can thus crash a parsing or validation worker thread, affecting validator services and any application that parses attacker-supplied FHIR JSON or XML. This issue is fixed in version 6.9.11.
- Published
- 8/7/2026
- Last modified
- 9/9/2026
- CVE assigner
- Not available
- NVD analysis
- Not available
Exploitation
No CISA KEV flag in the saved record
An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.
EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare
Affected products
Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.
| Vendor / product | Affected versions | Platform / conditions | Evidence |
|---|---|---|---|
org.hl7.fhir.core hapifhir | < 6.9.11 | Verify advisory | Source |
ca.uhn.hapi.fhir:org.hl7.fhir.r5 hapifhir | < 6.9.11 | Verify advisory | Source |
ca.uhn.hapi.fhir:org.hl7.fhir.utilities hapifhir | < 6.9.11 | Verify advisory | Source |
ca.uhn.hapi.fhir:org.hl7.fhir.validation hapifhir | < 6.9.11 | Verify advisory | Source |
ca.uhn.hapi.fhir:org.hl7.fhir.validation.cli hapifhir | < 6.9.11 | Verify advisory | Source |
Recommended actions
Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.
Vendor advisory links
Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.
Severity
CVSS describes technical impact. It is separate from exploitation evidence.
Published headline score: 7.5. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.
Sources & references
Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.