CVE-2026-62293
JSON

5.0medium

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

Severity
5.0medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.17% (higher than 5% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M

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

Product or packageVersionsReported by
hapifhir org.hl7.fhir.core< 6.9.11CVE List
hapifhir ca.uhn.hapi.fhir:org.hl7.fhir.validation< 6.9.11CVE List
hapifhir ca.uhn.hapi.fhir:org.hl7.fhir.validation.cli< 6.9.11CVE List

Classification

CWE-20CWE-79

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-62293 changed 2026-08-07CVE Terms of Use
NVDCVE-2026-62293 changed 2026-09-09Public domain