{"id":"CVE-2025-64518","published":"2025-11-10T22:08:06Z","modified":"2025-11-12T20:13:21Z","title":"CycloneDX Core (Java): BOM validation is vulnerable to XML External Entity injection","vendor":"CycloneDX","product":"cyclonedx-core-java","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00394,"percentile":0.34499,"provenance":"source"},"cwes":[{"id":"CWE-611","name":"Improper Restriction of XML External Entity Reference"}],"references":[{"url":"https://github.com/CycloneDX/cyclonedx-core-java/security/advisories/GHSA-6fhj-vr9j-g45r","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/CycloneDX/cyclonedx-core-java/pull/737","tags":["x_refsource_MISC"]},{"url":"https://github.com/CycloneDX/cyclonedx-core-java/commit/162aa594f347b3f612fe0a45071693c3cd398ce9","tags":["x_refsource_MISC"]},{"url":"https://github.com/CycloneDX/cyclonedx-core-java/commit/af0ec75c93c03f93733a070c5132554490af5314","tags":["x_refsource_MISC"]},{"url":"https://cheatsheetseries.owasp.org/cheatsheets/XML_External_Entity_Prevention_Cheat_Sheet.html#schemafactory","tags":["x_refsource_MISC"]}],"priority":{"score":12.1,"factors":[{"name":"EPSS percentile","points":6.9},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"cyclonedx","affectedVersions":[{"vendor":"CycloneDX","product":"cyclonedx-core-java","versions":[">= 2.1.0, <11.0.1"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-11-12T17:34:30.246493Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.cyclonedx:cyclonedx-core-java","vulnerableRanges":[">=2.1.0, <11.0.1"],"patched":["11.0.1"],"from":["GHSA-6fhj-vr9j-g45r"],"provenance":"source"}],"summary":{"text":"The XML validator in the CycloneDX core library for Java (cyclonedx-core-java) is not configured securely, so it is vulnerable to XML External Entity injection; the earlier fix only covered XML BOM parsing and not validation. An attacker able to submit an XML BOM for validation can exploit this without authentication or user interaction, provided the library is handling XML input over a network path, and the risk can be avoided by rejecting XML documents before validation.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:49:36Z"},"euvd":{"id":"EUVD-2025-50813","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-cyclonedx-core-java-cve-2024-38374","parents":[{"from":"CVE-2024-38374","to":"CVE-2025-64518","relation":"incomplete-fix","confidence":"high","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"incomplete-fix","quote":"The fix for GHSA-683x-4444-jxh8 / CVE-2024-38374 was incomplete in that it only fixed parsing of XML BOMs, but not validation.","from":"CVE.org","in":"CVE-2025-64518"},{"kind":"same-code","provenance":"machine","files":["src/main/java/org/cyclonedx/parsers/XmlParser.java"],"commits":["https://github.com/CycloneDX/cyclonedx-core-java/commit/ab0bc9c530d24f737970dbd0287d1190b129853d","https://github.com/CycloneDX/cyclonedx-core-java/commit/162aa594f347b3f612fe0a45071693c3cd398ce9","https://github.com/CycloneDX/cyclonedx-core-java/commit/af0ec75c93c03f93733a070c5132554490af5314"],"basis":"rarely changed file"},{"kind":"similar","provenance":"machine","score":0.62,"basis":"same product + CWE + description similarity"}]}]}}