CVE-2024-28757
Libexpat Project Libexpat ≤ 2.6.2
Raw vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HCVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.
Summary
CVE-2024-28757 is a high-severity XML Entity Expansion (CWE-776) vulnerability in Libexpat Project Libexpat. Its CVSS base score is 7.5 (High).
Operationally, exploitation aligns with the MITRE ATT&CK technique Endpoint Denial of Service (T1499); ranked in the top 18% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.
The strongest mitigations our analysis identified map to CM-6 (Configuration Settings) and SI-10 (Information Input Validation) — see the control section below for these in your framework.
OWASP Top 10 for Web (2025)
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2024-25843
Vulnerability Data
libexpat through 2.6.1 allows an XML Entity Expansion attack when there is isolated use of external parsers (created via XML_ExternalEntityParserCreate).
- CWE(s)
Related Threats
MITRE ATT&CK Enterprise Techniques
MITRE ATT&CK v20.0
CVEs Like This One
Affected Assets
Mitigating Controls
Mitigating Controls (NIST 800-53 r5)
Our mappings, made for this CVE.
Secure configuration settings can disable DTD processing or cap entity expansion in XML parsers.
Input validation can enforce limits on XML entity expansion and recursion depth before parsing occurs.
Least-functionality configuration can prohibit unsafe DTD features or external entity resolution.
Mitigating Controls (NIST CSF 2.0)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.
Secure SDLC practices directly prevent introduction of improper recursive entity handling in XML code.
Hardened configuration baselines can disable or limit DTD entity expansion in XML parsers.
Identifying and recording vulnerabilities can discover XML entity expansion flaws before exploitation.
Mitigating Controls (ISO/IEC 27001:2022 Annex A)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.
Security testing can detect and block XML entity-expansion vulnerabilities before deployment.
Training developers in secure XML handling can teach them to disable DTD processing or limit entity expansion, preventing some instances, but this is a specific technical configuration that requires correct implementation and the practice is fallible, leaving most instances unaffected by training alone.
Secure coding standards directly require disabling or restricting recursive entity references in XML parsers.
A.8.30 carries its effect through the secure-design, coding and testing practices (8.25–8.29) its contract requires of the supplier, which reduce ordinary software implementation weaknesses like insecure XML parsing configuration in delivered code, but the practices are fallible and the clause depends on those other controls being properly implemented, so only a minority of instances are prevented.
A.8.8's reach is DISCLOSURE — it finds XEE only where a vendor-published advisory exists for the XML parsing library or component, and XEE does surface as CVEs (CVE-2008-3281, CVE-2011-3288, CVE-2011-1755, CVE-2009-1955, CVE-2003-1564), so it is not `none`; but the bulk of XEE instances live in first-party custom XML processing code, which A.8.8's disclosure-based programme does not read, capping the rung at `partial`.