CVE-2026-62293
HAPI FHIR: Stored XSS in scan report via unescaped IG and profile titles
Mitigation
- Upgrade org.hl7.fhir.core to 6.9.11 or later.
- Upgrade ca.uhn.hapi.fhir:org.hl7.fhir.validation to 6.9.11 or later.
- Upgrade ca.uhn.hapi.fhir:org.hl7.fhir.validation.cli to 6.9.11 or later.
Who should check
- Anyone running hapifhir org.hl7.fhir.core < 6.9.11
- Anyone running hapifhir ca.uhn.hapi.fhir:org.hl7.fhir.validation < 6.9.11
- Anyone running hapifhir ca.uhn.hapi.fhir:org.hl7.fhir.validation.cli < 6.9.11
Vulnerability facts
- Affected
- 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
- Fixed in
- 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
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.0 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: None
- User interaction: Required
- Scope: Changed (impact reaches other components)
- Confidentiality impact: Low
- Integrity impact: Low
- Availability impact: None
- EPSS
- 0.17% chance of exploitation in 30 days (percentile 3, 2026-11-26)
- CWE
- CWE-20, CWE-79
- Modified
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 and fixed versions
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-62293. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-62293.md Affected: 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 Fixed in: 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 Steps: 1. Search this machine and project for hapifhir org.hl7.fhir.core, hapifhir ca.uhn.hapi.fhir:org.hl7.fhir.validation, hapifhir ca.uhn.hapi.fhir:org.hl7.fhir.validation.cli: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
FAQ
Is CVE-2026-62293 being exploited?
There is no confirmed exploitation: CVE-2026-62293 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.17% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-62293?
Medium: CVSS 5.0 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work.
Which versions are affected by CVE-2026-62293?
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.
Is there a fix for CVE-2026-62293?
Yes. Fixed in 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. Upgrade org.hl7.fhir.core to 6.9.11 or later. Upgrade ca.uhn.hapi.fhir:org.hl7.fhir.validation to 6.9.11 or later. Upgrade ca.uhn.hapi.fhir:org.hl7.fhir.validation.cli to 6.9.11 or later.
How do I check if I'm affected by CVE-2026-62293?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.