CVE-2026-40998
Jaxp13 XPath XXE via StreamSource and SAXSource
CVSS Score
8.2
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-611 |
| Vendor | spring |
| Product | spring web services |
| Ecosystems | |
| Industries | TechnologyEnterprise |
| Published | Jun 11, 2026 |
Stay Ahead of the Next One
Get instant alerts for spring spring web services
Be the first to know when new high vulnerabilities affecting spring spring web services are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
Low
Availability
None
Affected Versions
Spring / Spring Web Services
5.0.0 < 5.0.2 4.1.0 < 4.1.4 4.0.0 < 4.0.19 3.1.0 < 3.1.9