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 inst…
- CVSS
- 8.2High
- Chance of exploitation (EPSS)
- 0.35%
- Published
- Jun 11, 2026
- In the news
- Not yet
What to do
A serious XML parsing flaw in Broadcom Spring Web Services that can be attacked over the network without logging in. No attacks are reported yet; it can go in your normal patch cycle.
Action: Apply the vendor's update or follow its advisory.
Fixed in: 3.1.9, 4.0.19, 4.1.3.1, 5.0.1.1
Affected versions
- Spring Web Services
- 3.1.0 to before 3.1.9; 4.0.0 to before 4.0.19; 4.1.0 to before 4.1.3.1; 5.0.0 to before 5.0.1.1
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 products
Get alerts for these →Timeline 1
Latest change: CVE-2026-40998 published (CVSS 8.2) (Jun 11, 2026)
News, advisories, exploit code, scanner detection and exploitation, newest first.
Thu, Jun 11, 2026
- CVECVE-2026-40998 published (CVSS 8.2)CVE Program · 07:16 UTC
References 1
- spring.io Vendor Advisory /security/cve-2026-40998