Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. io.github.classgraph/classgraph
  4. ›
  5. CVE-2021-47621

CVE-2021-47621: ClassGraph XML External Entity Reference

June 21, 2024

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

References

  • docs.r3.com/en/platform/corda/4.8/enterprise/release-notes-enterprise.html
  • github.com/advisories/GHSA-v2xm-76pq-phcf
  • github.com/classgraph/classgraph
  • github.com/classgraph/classgraph/commit/681362ad6b0b9d9abaffb2e07099ce54d7a41fa3
  • github.com/classgraph/classgraph/pull/539
  • github.com/classgraph/classgraph/releases/tag/classgraph-4.8.112
  • nvd.nist.gov/vuln/detail/CVE-2021-47621

Code Behaviors & Features

Detect and mitigate CVE-2021-47621 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 4.8.112

Fixed versions

  • 4.8.112

Solution

Upgrade to version 4.8.112 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-611: Improper Restriction of XML External Entity Reference

Source file

maven/io.github.classgraph/classgraph/CVE-2021-47621.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:45 +0000.