# CVE-2024-34345: @cyclonedx/cyclonedx-library Improper Restriction of XML External Entity Reference vulnerability

- Severity: High 8.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- 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.92%, higher than 61% of CVEs (2026-12-01)
- Published: 2024-05-08T19:55:37.000Z
- Modified: 2026-09-10T03:50:13.068Z
- Also known as: GHSA-38gf-rh2w-gmj7
- Weaknesses: CWE-611
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

The CycloneDX JavaScript library contains the core functionality of OWASP CycloneDX for JavaScript. In 6.7.0, XML External entity injections were possible, when running the provided XML Validator on arbitrary input. This issue was fixed in version 6.7.1.

(As written by CVE List.)

## Affected

- CycloneDX cyclonedx-javascript-library: = 6.7.0
- @cyclonedx/cyclonedx-library (npm): from 6.7.0 before 6.7.1

## Every score

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

## References

- <https://github.com/CycloneDX/cyclonedx-javascript-library/security/advisories/GHSA-38gf-rh2w-gmj7> (web)
- <https://github.com/CycloneDX/cyclonedx-javascript-library/pull/1063> (web)
- <https://github.com/CycloneDX/cyclonedx-javascript-library/commit/5e5e1e0b9422f47d2de81c7c4064b803a01e7203> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-34345> (advisory)
- <https://github.com/CycloneDX/cyclonedx-javascript-library> (package)

## Sources

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

---

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