# CVE-2021-47621: ClassGraph XML External Entity Reference

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `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.56%, higher than 48% of CVEs (2026-12-01)
- Published: 2024-06-21T00:00:00.000Z
- Modified: 2026-09-10T03:50:15.914Z
- Also known as: GHSA-v2xm-76pq-phcf
- Weaknesses: CWE-611
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: mitre

## Description

ClassGraph before 4.8.112 was not resistant to XML eXternal Entity (XXE) attacks.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- classgraph classgraph: before 4.8.112
- io.github.classgraph:classgraph (Maven): before 4.8.112

## Every score

- CISA-ADP: 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 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N`

## References

- <https://github.com/classgraph/classgraph/releases/tag/classgraph-4.8.112> (web)
- <https://github.com/classgraph/classgraph/commit/681362ad6b0b9d9abaffb2e07099ce54d7a41fa3> (web)
- <https://github.com/classgraph/classgraph/pull/539> (web)
- <https://docs.r3.com/en/platform/corda/4.8/enterprise/release-notes-enterprise.html> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-47621> (advisory)
- <https://github.com/classgraph/classgraph> (package)

## Sources

- CVE List: [CVE-2021-47621](https://www.cve.org/CVERecord?id=CVE-2021-47621), CVE Terms of Use, modified 2025-03-13
- GitHub Advisory Database: [GHSA-v2xm-76pq-phcf](https://github.com/advisories/GHSA-v2xm-76pq-phcf), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2021-47621](https://nvd.nist.gov/vuln/detail/CVE-2021-47621), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-47621 · Whole record: https://cve.day/CVE-2021-47621.json · Rebuilt by cve.day 2026-11-25T22:58:08.949Z
