Vulnerabilities in pkg:maven/org.hl7.fhir.publisher/org.hl7.fhir.publisher.cli
PACKAGECVE-2024-52807 is a HIGH (CVSS 8.6) xxe vulnerability vulnerability (CWE-611: Improper Restriction of XML External Entity Reference) affecting Org.hl7.fhir.publisher.cli libraries in the Maven ecosystem. The issue involves xxe vulnerability in xslt parsing in `org.hl7.fhir.publisher`. Remediation is available by upgrading affected packages to version 1.7.4.
pkg:maven/org.hl7.fhir.publisher/org.hl7.fhir.publisher.cli
Vulnerability advisories affecting package pkg:maven/org.hl7.fhir.publisher/org.hl7.fhir.publisher.cli. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-8c3x-hq82-gjcm | CVE-2024-52807 | HIGH | XXE vulnerability in XSLT parsing in `org.hl7.fhir.publisher` |
| GHSA-6729-95v3-pjc2 | CVE-2025-24363 | MODERATE | HL7 FHIR IG Publisher potentially exposes GitHub repo user and credential information |
CVE-2024-52807 at a Glance
Security Impact
CVSS: 8.6
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N).
How to Fix CVE-2024-52807
To remediate this vulnerability, upgrade all affected Org.hl7.fhir.publisher.cli dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>org.hl7.fhir.publisher</groupId>
<artifactId>org.hl7.fhir.publisher.cli</artifactId>
<version>1.7.4</version>
</dependency>
<dependency>
<groupId>org.hl7.fhir.publisher</groupId>
<artifactId>org.hl7.fhir.publisher.core</artifactId>
<version>1.7.4</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=org.hl7.fhir.publisher
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2024-52807, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.hl7.fhir.publisher
Analyze the terminal output to locate any version of Org.hl7.fhir.publisher.cli in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.7.4), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.hl7.fhir.publisher command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-611: Improper Restriction of XML External Entity Reference, where the product processes an xml document that can contain xml entities with uris that resolve to documents outside of the intended sphere of control, causing the product to embed incorrect documents into its output. In Org.hl7.fhir.publisher.cli, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2024-52807 Affected Org.hl7.fhir.publisher.cli Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.hl7.fhir.publisher:org.hl7.fhir.publisher.cli
|
Maven |
< 1.7.4
|
1.7.4
|
|
org.hl7.fhir.publisher:org.hl7.fhir.publisher.core
|
Maven |
< 1.7.4
|
1.7.4
|
References
Frequently Asked Questions
What is CVE-2024-52807?
Which Org.hl7.fhir.publisher.cli versions are affected?
What version fixes CVE-2024-52807?
Is org.hl7.fhir.publisher.cli affected?
Is org.hl7.fhir.publisher.core affected?
What is the CVSS score of CVE-2024-52807?
What CWE is associated with CVE-2024-52807?
How can I check Maven dependencies for CVE-2024-52807?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-8c3x-hq82-gjcm",
"modified" : "2026-01-28T23:21:27Z",
"published" : "2025-01-24T18:33:29Z",
"aliases" : [ "CVE-2024-52807" ],
"summary" : "XXE vulnerability in XSLT parsing in `org.hl7.fhir.publisher`",
"details" : "### Impact\nXSLT 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.\n\nA previous release provided an incomplete solution revealed by new testing. \n\n### Patches\nThis issue has been patched as of version 1.7.4\n\n### Workarounds\nNone\n\n### References\n[Previous Advisory for Incomplete solution](https://github.com/HL7/fhir-ig-publisher/security/advisories/GHSA-59rq-22fm-x8q5)\n[MITRE CWE](https://cwe.mitre.org/data/definitions/611.html)\n[OWASP XML External Entity Prevention Cheat Sheet](https://cheatsheetseries.owasp.org/cheatsheets/XML_External_Entity_Prevention_Cheat_Sheet.html#transformerfactory)",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.hl7.fhir.publisher:org.hl7.fhir.publisher.cli"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.7.4"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.hl7.fhir.publisher:org.hl7.fhir.publisher.core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.7.4"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/HL7/fhir-ig-publisher/security/advisories/GHSA-59rq-22fm-x8q5"
}, {
"type" : "WEB",
"url" : "https://github.com/HL7/fhir-ig-publisher/security/advisories/GHSA-8c3x-hq82-gjcm"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-52807"
}, {
"type" : "WEB",
"url" : "https://github.com/HL7/fhir-ig-publisher/commit/3560de2f486d688a3ddcf4aa54d8bdacea380c3d"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/HL7/fhir-ig-publisher"
}, {
"type" : "WEB",
"url" : "https://github.com/HL7/fhir-ig-publisher/compare/1.7.3...1.7.4"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-611" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2025-01-24T18:33:29Z",
"nvd_published_at" : "2025-01-24T19:15:12Z"
}
}