ADVISORIES

GitHub Advisory Database

GHSA-xw5h-cmh3-8j6j

Apache CXF has Improper Restriction of XML External Entity Reference

Critical CVE-2026-49875

Details

Apache CXF's EndpointReferenceUtils and W3CMultiSchemaFactory classes construct a SAXParserFactory without the necessary JAXP hardening configurations, enabling out-of-band (OOB) external entity resolution. Users are recommended to upgrade to versions 4.2.2 or 4.1.7 or 3.6.12, which fix this issue.

Affected packages

EcosystemPackageAffected versions
Mavenorg.apache.cxf:cxf-core
From 4.2.0 before 4.2.2 (fixed in 4.2.2)
Mavenorg.apache.cxf:cxf-core
From 4.0.0 before 4.1.7 (fixed in 4.1.7)
Mavenorg.apache.cxf:cxf-core
All versions before 3.6.12 (fixed in 3.6.12)

References