8.2high
Jaxp13 XPath XXE via StreamSource and SAXSource
- Severity
- 8.2high CVSS:3.1 by vmware
- Exploit likelihood
- 0.35% (higher than 30% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- vmware
- Also known as
- GHSA-2mpf-m756-hxjm
Description
Jaxp13XPathTemplate evaluated XPath expressions for StreamSource and SAXSource inputs using a code path that parsed attacker-controlled XML with the JDK's default DocumentBuilderFactory behavior instead of Spring's hardened parser configuration. Applications that evaluate XPath against untrusted XML payloads could therefore be exposed to XML External Entity (XXE) style attacks. Affected versions: Spring Web Services 5.0.0 through 5.0.1; 4.1.0 through 4.1.3; 4.0.0 through 4.0.18; 3.1.0 through 3.1.8.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Spring Spring Web Services | from 5.0.0 before 5.0.1.1, from 4.1.0 before 4.1.3.1, from 4.0.0 before 4.0.19, from 3.1.0 before 3.1.9 | CVE List |
| org.springframework.ws:spring-xml (Maven) | from 5.0.0 before 5.0.2, from 4.1.0 before 4.1.4, from 4.0.0 up to 4.0.18, from 3.1.0 up to 3.1.8 | GitHub Advisory Database |
| broadcom spring_web_services | before 3.1.9, from 4.0.0 before 4.0.19, from 4.1.0 before 4.1.3.1, from 5.0.0 before 5.0.1.1 | NVD |
All scores
| vmware | 8.2high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N |
| GitHub | 8.2high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
Jaxp13XPathTemplate evaluated XPath expressions for StreamSource and SAXSource inputs using a code path that parsed attacker-controlled XML with the JDK's default DocumentBuilderFactory behavior instead of Spring's hardened parser configuration. Applications that evaluate XPath against untrusted XML payloads could therefore be exposed to XML External Entity (XXE) style attacks. Affected versions: Spring Web Services 5.0.0 through 5.0.1; 4.1.0 through 4.1.3; 4.0.0 through 4.0.18; 3.1.0 through 3.1.8.
NVD (es)
Jaxp13XPathTemplate evaluó expresiones XPath para entradas StreamSource y SAXSource utilizando una ruta de código que analizó XML controlado por el atacante con el comportamiento predeterminado de DocumentBuilderFactory del JDK en lugar de la configuración de analizador reforzada de Spring. Las aplicaciones que evalúan XPath contra cargas útiles XML no confiables podrían, por lo tanto, estar expuestas a ataques de estilo Entidad Externa XML (XXE). Versiones afectadas: Spring Web Services 5.0.0 a 5.0.1; 4.1.0 a 4.1.3; 4.0.0 a 4.0.18; 3.1.0 a 3.1.8.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-40998 changed 2026-06-23 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-2mpf-m756-hxjm changed 2026-08-21 | CC-BY-4.0 |
| NVD | CVE-2026-40998 changed 2026-09-04 | Public domain |