Live threats

All CVEs / classgraph

CVE-2021-47621classgraph

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
—
Auth required
No
Published
Jun 21, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-611
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

What happens

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

Original NVD text.

What to do

  1. Apply the vendor's security update for classgraph.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven io.github.classgraph:classgraph < 4.8.112 4.8.112 —

Per OSV / GitHub Advisories (GHSA-v2xm-76pq-phcf). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.