Apache Software Foundation Apache CXF
Apache CXF: XXE via WSDL/XSD import parsing
Apache CXF reads a top-level WSDL through its hardened StaxUtils path, which disables XML DTDs and external entities. However, any <wsdl:import> or <xsd:import> referenced from that top-level WSDL is handed off to WSDL4J, which does not disable DOCTYPE declarations or external entities. As a result, the protections applied to the top-level document do not extend to imported documents, leaving imported WSDL/XSD content vulnerable to XML External Entity (XXE) attacks. Users are recommended to upgrade to versions 4.2.3 or 4.1.8 or 3.6.12, which fix this issue.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 4.2.0, < 4.2.3
- >= 4.0.0, < 4.1.8
- < 3.6.12
Fixed in 4.2.3, 4.1.8, 3.6.12
Mitigation
Upgrade Apache CXF to 4.2.3 or 4.1.8 or 3.6.12 or later.
References
- Vendor advisory lists.apache.org/thread/5qs207krzg51jl3zs3cvnl5lt9nj…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.