CVE-2026-62293: HAPI FHIR: Stored XSS in scan report via unescaped IG and profile titles
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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
HAPI FHIRto a version that resolves this vulnerability.Fixed in 6.9.11
Event History
Frequently Asked Questions
What is the severity of CVE-2026-62293?
CVE-2026-62293 has a medium severity rating of 5.
How do I fix CVE-2026-62293?
You can fix CVE-2026-62293 by upgrading to HAPI FHIR version 6.9.11 or later, which includes security fixes for this vulnerability.
What kind of attack is associated with CVE-2026-62293?
CVE-2026-62293 is associated with stored cross-site scripting (XSS) vulnerabilities.
What impact does CVE-2026-62293 have on systems using HAPI FHIR?
CVE-2026-62293 allows attackers to introduce malicious scripts in scan reports, potentially compromising user interactions.
What component of HAPI FHIR is affected by CVE-2026-62293?
CVE-2026-62293 affects the hidden scan command in Scanner.java, which mishandles unescaped Implementation Guide and profile titles.