Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-62296: CWE-20: Improper Input Validation in hapifhir org.hl7.fhir.core

0
High
VulnerabilityCVE-2026-62296cvecve-2026-62296cwe-20cwe-400cwe-674
Published: 08/07/2026 (08/07/2026, 20:03:17 UTC)
Source: CVE Database V5
Vendor/Project: hapifhir
Product: org.hl7.fhir.core

Description

HAPI FHIR versions prior to 6.9.11 contain an improper input validation vulnerability in the XhtmlParser component. Specifically, the parser does not limit the maximum element nesting depth in text.div narratives, which can cause unbounded recursion and lead to a StackOverflowError. This can crash parsing or validation threads processing attacker-supplied FHIR JSON or XML resources. The issue is fixed in version 6.9.11.

CVSS v3.1

Score 7.5high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected software

org.hl7.fhir/core
pkg:maven/org.hl7.fhir/core
Affected versions
<6.9.11

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/08/2026, 12:52:25 UTC

Technical Analysis

The vulnerability in HAPI FHIR's org.hl7.fhir.core library involves improper input validation where the XhtmlParser.java class does not impose a maximum element nesting depth. This allows an attacker to craft deeply nested text.div narratives that trigger unbounded recursion between parseElementInner() and parseElement(), causing a StackOverflowError. This denial-of-service condition affects validator services and any application parsing attacker-controlled FHIR resources. The flaw is addressed in version 6.9.11.

Potential Impact

An attacker capable of submitting malicious FHIR resources with deeply nested narratives can cause a denial-of-service by crashing parsing or validation threads due to stack overflow. This impacts availability of services relying on the vulnerable parser but does not affect confidentiality or integrity.

Mitigation Recommendations

A fix is available in HAPI FHIR version 6.9.11. Users should upgrade to version 6.9.11 or later to remediate this vulnerability. No other mitigation guidance is provided.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-07-13T18:37:08.488Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a772657bf8831d539846b9a

Added to database: 08/08/2026, 12:51:35 UTC

Last enriched: 08/08/2026, 12:52:25 UTC

Last updated: 08/08/2026, 15:06:11 UTC

Views: 5

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses