Vulnerability · Published Aug 7, 2026 · Assigned by GitHub_M
CVE-2026-62293HAPI FHIR: Stored XSS in scan report via unescaped IG and profile titles
Medium 5.0
In plain English
A medium-severity improper input validation in ca.uhn.hapi.fhir:org.hl7.fhir.validation from hapifhir. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 6% of all known vulnerabilities).
Official 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.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| hapifhir | org.hl7.fhir.core | < 6.9.11 |
| hapifhir | ca.uhn.hapi.fhir:org.hl7.fhir.validation | < 6.9.11 |
| hapifhir | ca.uhn.hapi.fhir:org.hl7.fhir.validation.cli | < 6.9.11 |
Weakness: CWE-20, CWE-79 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N