Skip to main content
EPSS 0.2%top 94%

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

0
Medium
VulnerabilityCVE-2026-62293cvecve-2026-62293cwe-20cwe-79
Published: 08/07/2026 (08/07/2026, 19:26:28 UTC)
Source: CVE Database V5
Vendor/Project: hapifhir
Product: org.hl7.fhir.core

Description

HAPI FHIR is a complete implementation of the HL7 FHIR standard for healthcare interoperability in Java. Prior to 6.9.11, the hidden scan command concatenates attacker-controlled Implementation Guide titles, profile titles, and source references into scan.html without escaping in Scanner.java. As a result, a user who scans an attacker-supplied IG/profile and then opens or publishes the generated local/CI HTML report can trigger stored cross-site scripting, executing attacker-controlled JavaScript in the report's browser context. This issue is fixed in version 6.9.11.

CVSS v3.1

Score 5.0medium

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Affected software

hapifhir

org.hl7.fhir.core

Affected versions
<6.9.11

hapifhir

ca.uhn.hapi.fhir:org.hl7.fhir.validation

Affected versions
<6.9.11

hapifhir

ca.uhn.hapi.fhir:org.hl7.fhir.validation.cli

Affected versions
<6.9.11
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/07/2026, 20:00:07 UTC

Technical Analysis

The vulnerability in HAPI FHIR's org.hl7.fhir.core component involves improper input validation (CWE-20) leading to stored cross-site scripting (CWE-79). Specifically, in versions before 6.9.11, the hidden scan command concatenates unescaped attacker-controlled data into scan.html, enabling execution of malicious JavaScript when the report is viewed. This flaw is addressed by escaping input in version 6.9.11.

Potential Impact

An attacker who supplies malicious Implementation Guide or profile data can cause stored XSS in the generated scan.html report. This can lead to execution of arbitrary JavaScript in the context of the user viewing the report, potentially compromising user data or session integrity. The CVSS score of 5.0 (medium) reflects limited attack vector (local) and user interaction required.

Mitigation Recommendations

Upgrade to HAPI FHIR version 6.9.11 or later where the vulnerability is fixed by proper escaping of attacker-controlled input in the scan.html report generation. No other mitigation or workaround is indicated.

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

Threat ID: 6a76350bbf8831d5390b01af

Added to database: 08/07/2026, 19:42:03 UTC

Last enriched: 08/07/2026, 20:00:07 UTC

Last updated: 09/22/2026, 01:52:44 UTC

Views: 58

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