XXE vulnerability in XSLT parsing in `org.hl7.fhir.publisher`
HL7 fhir-ig-publisher
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| org.hl7.fhir.publisher:org.hl7.fhir.publisher.cli Maven |
|
|
| org.hl7.fhir.publisher:org.hl7.fhir.publisher.core Maven |
|
|
HL7 fhir-ig-publisher
| Product | Affected | Fixed in |
|---|---|---|
| org.hl7.fhir.publisher:org.hl7.fhir.publisher.cli Maven |
|
|
| org.hl7.fhir.publisher:org.hl7.fhir.publisher.core Maven |
|
|
The HL7 FHIR IG publisher is a tool to take a set of inputs and create a standard FHIR IG. Prior to version 1.7.4, XSLT transforms performed by various components are vulnerable to XML external entity injections. A processed XML file with a malicious DTD tag `( ]>` could produce XML containing data from the host system. This impacts use cases where org.hl7.fhir.publisher is being used to within a host where external clients can submit XML. A previous release provided an incomplete solution revealed by new testing. This issue has been patched as of version 1.7.4. No known workarounds are available.
From the CVE record · GitHub_M
Before version 1.7.4, XSLT transforms in HL7 fhir-ig-publisher are vulnerable to XML external entity injection. Where external clients can submit XML for processing, a malicious DTD can cause output XML to contain data from the host system.
Check deployments using Maven packages org.hl7.fhir.publisher:org.hl7.fhir.publisher.cli or org.hl7.fhir.publisher:org.hl7.fhir.publisher.core before version 1.7.4, especially where external clients can submit XML.