Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| hapifhir / org.hl7.fhir.core | affected < 6.9.11 |
| hapifhir / ca.uhn.hapi.fhir:org.hl7.fhir.validation | affected < 6.9.11 |
| hapifhir / ca.uhn.hapi.fhir:org.hl7.fhir.validation.cli | affected < 6.9.11 |
CWE
CWE-20, CWE-79
References
- https://github.com/hapifhir/org.hl7.fhir.core/security/advisories/GHSA-6vcw-fq7v-4vhw
- https://github.com/hapifhir/org.hl7.fhir.core/commit/3a9befd8845f003095ed75f4b24b9a80630275be
ADP enrichment
No English description supplied.