CVE-2025-64518: CWE-611: Improper Restriction of XML External Entity Reference in CycloneDX cyclonedx-core-java
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.
AI Analysis
Technical Summary
CVE-2025-64518 affects the cyclonedx-core-java library, which is widely used for creating, validating, and parsing Software Bill of Materials (SBOMs) in XML and JSON formats. The vulnerability is classified under CWE-611, indicating improper restriction of XML External Entity references. Specifically, from version 2.1.0 through versions prior to 11.0.1, the XML Validator component within the library was not securely configured to disable external entity resolution during XML validation. This misconfiguration allows an attacker to craft malicious XML documents containing external entity references that, when processed by the vulnerable validator, can lead to disclosure of local files or internal system information. The vulnerability is exploitable remotely without authentication or user interaction, as the library is typically used in automated SBOM processing pipelines. Although a previous fix (CVE-2024-38374) addressed XML parsing, it did not secure the validation step, leaving this attack vector open until version 11.0.1. The vulnerability has a CVSS v3.1 score of 7.5, indicating a high severity due to the potential for sensitive data exposure. No known exploits have been reported in the wild, but the risk remains significant given the widespread adoption of CycloneDX in supply chain security tooling. As a temporary mitigation, applications can reject XML SBOM inputs or prefer JSON formats before passing data to the vulnerable validator. The definitive solution is upgrading to cyclonedx-core-java version 11.0.1 or later, where the XML Validator is properly hardened against XXE attacks.
Potential Impact
For European organizations, this vulnerability poses a significant risk to the confidentiality of sensitive information processed in SBOM workflows. Since CycloneDX is a popular standard for SBOMs used in software supply chain security, many enterprises and software vendors rely on cyclonedx-core-java for SBOM generation and validation. Exploitation could allow attackers to read arbitrary files or internal configuration data on systems processing malicious SBOM XML inputs, potentially exposing intellectual property, credentials, or other sensitive data. This risk is heightened in sectors with stringent data protection requirements such as finance, healthcare, and critical infrastructure. Additionally, supply chain security tools that integrate CycloneDX could be leveraged as attack vectors, undermining trust in software provenance. The vulnerability does not affect integrity or availability directly but can facilitate further attacks by leaking confidential information. Given the remote, unauthenticated exploitability and no user interaction required, the threat is practical and urgent to address. Organizations processing XML SBOMs should prioritize patching or mitigating this vulnerability to maintain compliance with European data protection regulations and secure software supply chains.
Mitigation Recommendations
1. Upgrade cyclonedx-core-java to version 11.0.1 or later immediately, as this version contains the complete fix for the XXE vulnerability in XML validation. 2. If upgrading is not immediately feasible, implement input validation to reject or sanitize XML SBOM documents before they reach the vulnerable validator component. 3. Prefer using JSON format SBOMs where possible, as the vulnerability does not affect JSON processing. 4. Employ XML parsing libraries and validators configured to disable external entity resolution and DTD processing to prevent XXE attacks. 5. Conduct code reviews and dependency audits to identify and remediate any other usages of vulnerable XML processing components. 6. Monitor SBOM ingestion pipelines for anomalous XML inputs that could indicate exploitation attempts. 7. Educate development and security teams about the risks of XXE and secure XML handling best practices. 8. Integrate automated dependency scanning tools that flag vulnerable versions of cyclonedx-core-java to prevent future usage. 9. Review and update incident response plans to include scenarios involving SBOM supply chain compromise. 10. Collaborate with software vendors and partners to ensure they have applied the fix and are not introducing vulnerable SBOMs into your environment.
Affected Countries
Germany, France, United Kingdom, Netherlands, Sweden, Italy, Spain, Poland, Belgium, Finland
CVE-2025-64518: CWE-611: Improper Restriction of XML External Entity Reference in CycloneDX cyclonedx-core-java
Description
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.
AI-Powered Analysis
Technical Analysis
CVE-2025-64518 affects the cyclonedx-core-java library, which is widely used for creating, validating, and parsing Software Bill of Materials (SBOMs) in XML and JSON formats. The vulnerability is classified under CWE-611, indicating improper restriction of XML External Entity references. Specifically, from version 2.1.0 through versions prior to 11.0.1, the XML Validator component within the library was not securely configured to disable external entity resolution during XML validation. This misconfiguration allows an attacker to craft malicious XML documents containing external entity references that, when processed by the vulnerable validator, can lead to disclosure of local files or internal system information. The vulnerability is exploitable remotely without authentication or user interaction, as the library is typically used in automated SBOM processing pipelines. Although a previous fix (CVE-2024-38374) addressed XML parsing, it did not secure the validation step, leaving this attack vector open until version 11.0.1. The vulnerability has a CVSS v3.1 score of 7.5, indicating a high severity due to the potential for sensitive data exposure. No known exploits have been reported in the wild, but the risk remains significant given the widespread adoption of CycloneDX in supply chain security tooling. As a temporary mitigation, applications can reject XML SBOM inputs or prefer JSON formats before passing data to the vulnerable validator. The definitive solution is upgrading to cyclonedx-core-java version 11.0.1 or later, where the XML Validator is properly hardened against XXE attacks.
Potential Impact
For European organizations, this vulnerability poses a significant risk to the confidentiality of sensitive information processed in SBOM workflows. Since CycloneDX is a popular standard for SBOMs used in software supply chain security, many enterprises and software vendors rely on cyclonedx-core-java for SBOM generation and validation. Exploitation could allow attackers to read arbitrary files or internal configuration data on systems processing malicious SBOM XML inputs, potentially exposing intellectual property, credentials, or other sensitive data. This risk is heightened in sectors with stringent data protection requirements such as finance, healthcare, and critical infrastructure. Additionally, supply chain security tools that integrate CycloneDX could be leveraged as attack vectors, undermining trust in software provenance. The vulnerability does not affect integrity or availability directly but can facilitate further attacks by leaking confidential information. Given the remote, unauthenticated exploitability and no user interaction required, the threat is practical and urgent to address. Organizations processing XML SBOMs should prioritize patching or mitigating this vulnerability to maintain compliance with European data protection regulations and secure software supply chains.
Mitigation Recommendations
1. Upgrade cyclonedx-core-java to version 11.0.1 or later immediately, as this version contains the complete fix for the XXE vulnerability in XML validation. 2. If upgrading is not immediately feasible, implement input validation to reject or sanitize XML SBOM documents before they reach the vulnerable validator component. 3. Prefer using JSON format SBOMs where possible, as the vulnerability does not affect JSON processing. 4. Employ XML parsing libraries and validators configured to disable external entity resolution and DTD processing to prevent XXE attacks. 5. Conduct code reviews and dependency audits to identify and remediate any other usages of vulnerable XML processing components. 6. Monitor SBOM ingestion pipelines for anomalous XML inputs that could indicate exploitation attempts. 7. Educate development and security teams about the risks of XXE and secure XML handling best practices. 8. Integrate automated dependency scanning tools that flag vulnerable versions of cyclonedx-core-java to prevent future usage. 9. Review and update incident response plans to include scenarios involving SBOM supply chain compromise. 10. Collaborate with software vendors and partners to ensure they have applied the fix and are not introducing vulnerable SBOMs into your environment.
For access to advanced analysis and higher rate limits, contact root@offseq.com
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2025-11-05T21:15:39.400Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 691264812d2520af5f327675
Added to database: 11/10/2025, 10:17:37 PM
Last enriched: 11/17/2025, 11:07:33 PM
Last updated: 12/24/2025, 12:19:03 PM
Views: 131
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Related Threats
CVE-2025-57840: CWE-269 Improper Privilege Management in Honor Magic OS
LowCVE-2025-13407: CWE-434 Unrestricted Upload of File with Dangerous Type in Gravity Forms
UnknownCVE-2024-58335: CWE-611 Improper Restriction of XML External Entity Reference in jcthiele OpenXRechnungToolbox
MediumCVE-2025-66444: CWE-79 Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') in Hitachi Hitachi Infrastructure Analytics Advisor
HighCVE-2025-66445: CWE-306 Missing Authentication for Critical Function in Hitachi Hitachi Infrastructure Analytics Advisor
HighActions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need enhanced features?
Contact root@offseq.com for Pro access with improved analysis and higher rate limits.