# CVE-2024-38374: Improper Restriction of XML External Entity Reference in org.cyclonedx:cyclonedx-core-java

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.59%, higher than 49% of CVEs (2026-12-01)
- Published: 2024-06-24T20:44:48.000Z
- Modified: 2026-09-10T03:50:14.821Z
- Also known as: GHSA-683x-4444-jxh8
- Weaknesses: CWE-611
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- CycloneDX cyclonedx-core-java: >= 2.1.0, < 9.0.4
- cyclonedx cyclonedx_core_java: from 2.1.0 before 9.0.4
- org.cyclonedx:cyclonedx-core-java (Maven): from 2.1.0 before 9.0.4

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/CycloneDX/cyclonedx-core-java/security/advisories/GHSA-683x-4444-jxh8> (web)
- <https://github.com/CycloneDX/cyclonedx-core-java/pull/434> (web)
- <https://github.com/CycloneDX/cyclonedx-core-java/pull/434/commits/ab0bc9c530d24f737970dbd0287d1190b129853d> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-38374> (advisory)
- <https://github.com/CycloneDX/cyclonedx-core-java> (package)

## Sources

- CVE List: [CVE-2024-38374](https://www.cve.org/CVERecord?id=CVE-2024-38374), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-683x-4444-jxh8](https://github.com/advisories/GHSA-683x-4444-jxh8), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2024-38374](https://nvd.nist.gov/vuln/detail/CVE-2024-38374), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-38374 · Whole record: https://cve.day/CVE-2024-38374.json · Rebuilt by cve.day 2026-11-25T22:58:42.322Z
