Skip to main content
← All vulnerabilities
CVE-2025-64518GHSA-6FHJ-VR9J-G45R

CycloneDX Core (Java): BOM validation is vulnerable to XML External Entity injection

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 11.0.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

The CycloneDX core module provides a model representation of the SBOM along with utilities to assist in creating, validating, and parsing SBOMs. Starting in version 2.1.0 and prior to version 11.0.1, the XML `Validator` used by cyclonedx-core-java was not configured securely, making the library vulnerable to XML External Entity (XXE) injection. The fix for GHSA-683x-4444-jxh8 / CVE-2024-38374 was incomplete in that it only fixed parsing of XML BOMs, but not validation. The vulnerability has been fixed in cyclonedx-core-java version 11.0.1. As a workaround, applications can reject XML documents before handing them to cyclonedx-core-java for validation. This may be an option if incoming CycloneDX BOMs are known to be in JSON format.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • CycloneDX cyclonedx-core-java

    From 2.1.0 · fixed in 11.0.1

  • org.cyclonedx:cyclonedx-core-javaMaven

    From 2.1.0 · fixed in 11.0.1

References 5

GitHub · CycloneDX/cyclonedx-core-java

cheatsheetseries.owasp.org