CVE-2024-38374: Cyclonedx Cyclonedx-Core-Java

High severity, CVSS 7.5. EPSS: 0.6% chance of exploitation in the next 30 days.

The CycloneDX core module provides a model representation of the SBOM along with utilities to assist in creating, validating, and parsing SBOMs. Before deserializing CycloneDX Bill of Materials in XML format, _cyclonedx-core-java_ leverages XPath expressions to determine the schema version of the BOM. The `DocumentBuilderFactory` used to evaluate XPath expressions was not configured securely, making the library vulnerable to XML External Entity (XXE) injection. This vulnerability has been fixed in cyclonedx-core-java version 9.0.4.

Affected products

  • Cyclonedx Cyclonedx-Core-Java: from 2.1.0, before 9.0.4 (fixed in 9.0.4)
  • Cyclonedx Cyclonedx Core Java: from 2.1.0, before 9.0.4 (fixed in 9.0.4)

Published 2024-06-28. Last modified 2026-06-17.