7.5high
Apache CXF: XXE via WSDL/XSD import parsing
- Severity
- 7.5high CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.39% (higher than 35% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- apache
Description
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
| Product or package | Versions | Reported by |
|---|---|---|
| org.apache.cxf:cxf-rt-wsdl | from 4.2.0 before 4.2.3, from 4.0.0 before 4.1.8, before 3.6.12 | CVE List |
| apache cxf | before 3.6.12, from 4.0.0 before 4.1.8, from 4.2.0 before 4.2.3 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
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.
NVD (es)
Apache CXF lee un WSDL de nivel superior a través de su ruta StaxUtils reforzada, que deshabilita los DTD XML y las entidades externas. Sin embargo, cualquier menor quewsdl:importmayor que o menor quexsd:importmayor que referenciado desde ese WSDL de nivel superior se entrega a WSDL4J, que no deshabilita las declaraciones DOCTYPE ni las entidades externas. Como resultado, las protecciones aplicadas al documento de nivel superior no se extienden a los documentos importados, dejando el contenido WSDL/XSD importado vulnerable a ataques de entidad externa XML (XXE). Se recomienda a los usuarios actualizar a las versiones 4.2.3 o 4.1.8 o 3.6.12, que solucionan este problema.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-65432 changed 2026-08-07 | CVE Terms of Use |
| NVD | CVE-2026-65432 changed 2026-10-24 | Public domain |