{"id":"CVE-2025-64518","aliases":["CVE-2025-64518","GHSA-6fhj-vr9j-g45r"],"related":[],"kind":"vulnerability","state":"published","title":"CycloneDX Core (Java): BOM validation is vulnerable to XML External Entity injection","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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nThe XML [`Validator`](https://docs.oracle.com/javase/8/docs/api/javax/xml/validation/Validator.html) used by cyclonedx-core-java was not configured securely, making the library vulnerable to XML External Entity (XXE) injection.\n\nThe fix for GHSA-683x-4444-jxh8 / CVE-2024-38374 has been incomplete in that it only fixed *parsing* of XML BOMs, but not *validation*.\n\n### Patches\n\nThe vulnerability has been fixed in cyclonedx-core-java version 11.0.1.\n\n### Workarounds\n\nIf feasible, applications can reject XML documents before handing them to cyclonedx-core-java for validation.\nThis may be an option if incoming CycloneDX BOMs are known to be in JSON format.\n\n### References\n\n* The issue was introduced via https://github.com/CycloneDX/cyclonedx-core-java/commit/162aa594f347b3f612fe0a45071693c3cd398ce9\n* The issue was fixed via https://github.com/CycloneDX/cyclonedx-core-java/pull/737\n* https://cheatsheetseries.owasp.org/cheatsheets/XML_External_Entity_Prevention_Cheat_Sheet.html#schemafactory","format":"markdown","source":"ghsa"},{"lang":"es","text":"El módulo central de CycloneDX proporciona una representación de modelo del SBOM junto con utilidades para ayudar en la creación, validación y análisis de SBOMs. A partir de la versión 2.1.0 y antes de la versión 11.0.1, el 'Validator' XML utilizado por cyclonedx-core-java no estaba configurado de forma segura, haciendo que la librería fuera vulnerable a la inyección de entidad externa XML (XXE). La corrección para GHSA-683x-4444-jxh8 / CVE-2024-38374 fue incompleta ya que solo corrigió el análisis de los BOMs XML, pero no la validación. La vulnerabilidad ha sido corregida en la versión 11.0.1 de cyclonedx-core-java. Como solución alternativa, las aplicaciones pueden rechazar documentos XML antes de entregarlos a cyclonedx-core-java para su validación. Esto puede ser una opción si se sabe que los BOMs CycloneDX entrantes están en formato JSON.","source":"nvd"}],"published":"2025-11-10T21:04:03.000Z","modified":"2026-09-10T03:50:30.718Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"}],"cwes":["CWE-611"],"affected":[{"ranges":[{"version":">= 2.1.0, <11.0.1","status":"affected"}],"vendor":"CycloneDX","product":"cyclonedx-core-java","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"2.1.0","status":"affected","fixed":"11.0.1"}],"ecosystem":"Maven","package":"org.cyclonedx:cyclonedx-core-java","purl":"pkg:maven/org.cyclonedx/cyclonedx-core-java","source":"ghsa"}],"references":[{"url":"https://github.com/CycloneDX/cyclonedx-core-java/security/advisories/GHSA-6fhj-vr9j-g45r","tags":["web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/CycloneDX/cyclonedx-core-java/pull/737","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/CycloneDX/cyclonedx-core-java/commit/162aa594f347b3f612fe0a45071693c3cd398ce9","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/CycloneDX/cyclonedx-core-java/commit/af0ec75c93c03f93733a070c5132554490af5314","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://cheatsheetseries.owasp.org/cheatsheets/XML_External_Entity_Prevention_Cheat_Sheet.html#schemafactory","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-64518","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/CycloneDX/cyclonedx-core-java","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2025-11-12T17:34:30.246Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-64518","url":"https://www.cve.org/CVERecord?id=CVE-2025-64518","licence":"CVE Terms of Use","modified":"2025-11-12T20:13:21.105Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-6fhj-vr9j-g45r","url":"https://github.com/advisories/GHSA-6fhj-vr9j-g45r","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:30.718Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-64518","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-64518","licence":"Public domain","modified":"2026-06-17T09:54:31.417Z"}],"updatedAt":"2026-11-25T22:59:07.423Z","epss":{"score":0.00394,"percentile":0.35742,"date":"2026-12-01T12:00:22.000Z"}}