CVE-2026-62293

HAPI FHIR: Stored XSS in scan report via unescaped IG and profile titles

State
Published
Severity
5.0 Medium
Published
Aug 7, 2026
Updated
Aug 7, 2026
Reserved
Jul 13, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.15.0 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NGitHub_M

Weaknesses

  • CWE-20 Improper Input Validation
  • CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Affected Products

ProductVersions
org.hl7.fhir.corehapifhir
  • < 6.9.11Affected
ca.uhn.hapi.fhir:org.hl7.fhir.validationhapifhir
  • < 6.9.11Affected
ca.uhn.hapi.fhir:org.hl7.fhir.validation.clihapifhir
  • < 6.9.11Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.