Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. ca.uhn.hapi.fhir/org.hl7.fhir.utilities
  4. ›
  5. CVE-2026-55471

CVE-2026-55471: HAPI FHIR: XXE in XsltUtilities.saxonTransform via unhardened Saxon TransformerFactory

June 17, 2026

org.hl7.fhir.utilities.XsltUtilities exposes two parallel families of XSLT transform helpers. The transform(...) overloads obtain their TransformerFactory from the project’s hardened helper XMLUtil.newXXEProtectedTransformerFactory() (which sets ACCESS_EXTERNAL_DTD="" and ACCESS_EXTERNAL_STYLESHEET=""). The sibling saxonTransform(...) overloads instead instantiate a bare new net.sf.saxon.TransformerFactoryImpl() with no external-access restriction. A document transformed through any saxonTransform(...) overload is parsed with external general entities and external DTD/parameter entities enabled, so an attacker who controls (or can MITM) the transformed XML obtains XML External Entity injection: local file disclosure and blind XXE / SSRF to arbitrary URLs reachable from the host.

XMLUtil documents that its protected factory “should be the only place where TransformerFactory is instantiated in this project”. The saxonTransform overloads violate that contract while their same-file transform siblings honour it.

References

  • github.com/advisories/GHSA-2f55-g35j-5jmf
  • github.com/hapifhir/org.hl7.fhir.core/security/advisories/GHSA-2f55-g35j-5jmf
  • nvd.nist.gov/vuln/detail/CVE-2026-55471

Code Behaviors & Features

Detect and mitigate CVE-2026-55471 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 6.9.10

Fixed versions

  • 6.9.10

Solution

Upgrade to version 6.9.10 or above.

Impact 8.6 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-611: Improper Restriction of XML External Entity Reference

Source file

maven/ca.uhn.hapi.fhir/org.hl7.fhir.utilities/CVE-2026-55471.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 23 Jun 2026 12:22:44 +0000.