CVE-2026-40998 Jaxp13 XPath XXE via StreamSource and SAXSource
HighCVSS 8.2
EPSS 0.35%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
- Technology
- Red Hat
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.
Upgrade path
3 packages: 3 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| broadcom spring web services | < 3.1.9; >= 4.0.0, < 4.0.19; >= 4.1.0, < 4.1.3.1; >= 5.0.0, < 5.0.1.1 | 3.1.9, 4.0.19, 4.1.3.1, 5.0.1.1 | Fixed |
| org.springframework.ws/spring-xml(Maven) | = 3.1.0; = 3.1.1; = 3.1.2; = 3.1.3 +35 more | 4.1.4, 5.0.2 | Fixed |
| Spring Web Services | >= 3.1.0, < 3.1.9; >= 4.0.0, < 4.0.19; >= 4.1.0, < 4.1.3.1; >= 5.0.0, < 5.0.1.1 | 3.1.9, 4.0.19, 4.1.3.1, 5.0.1.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| org.springframework.ws/spring-xml(Maven) | >= 5.0.0, < 5.0.2 | 5.0.2 |
| org.springframework.ws/spring-xml(Maven) | = 5.0.0 | No fix listed |
| org.springframework.ws/spring-xml(Maven) | = 5.0.1 | No fix listed |
| org.springframework.ws/spring-xml(Maven) | >= 4.1.0, < 4.1.4 | 4.1.4 |
| org.springframework.ws/spring-xml(Maven) | = 4.1.0 | No fix listed |
| org.springframework.ws/spring-xml(Maven) | = 4.1.1 | No fix listed |
| org.springframework.ws/spring-xml(Maven) | = 4.1.2 | No fix listed |
| org.springframework.ws/spring-xml(Maven) | = 4.1.3 | No fix listed |
| org.springframework.ws/spring-xml(Maven) | >= 4.0.0, <= 4.0.18 | No fix listed |
| org.springframework.ws/spring-xml(Maven) | = 4.0.0 | No fix listed |
| org.springframework.ws/spring-xml(Maven) | = 4.0.1 | No fix listed |
| org.springframework.ws/spring-xml(Maven) | = 4.0.10 | No fix listed |
| org.springframework.ws/spring-xml(Maven) | = 4.0.11 | No fix listed |
| org.springframework.ws/spring-xml(Maven) | = 4.0.12 | No fix listed |
| org.springframework.ws/spring-xml(Maven) | = 4.0.13 | No fix listed |
| org.springframework.ws/spring-xml(Maven) | = 4.0.14 | No fix listed |
| org.springframework.ws/spring-xml(Maven) | = 4.0.15 | No fix listed |
| org.springframework.ws/spring-xml(Maven) | = 4.0.16 | No fix listed |
| org.springframework.ws/spring-xml(Maven) | = 4.0.17 | No fix listed |
| org.springframework.ws/spring-xml(Maven) | = 4.0.2 | No fix listed |
| org.springframework.ws/spring-xml(Maven) | = 4.0.3 | No fix listed |
| org.springframework.ws/spring-xml(Maven) | = 4.0.4 | No fix listed |
| org.springframework.ws/spring-xml(Maven) | = 4.0.5 | No fix listed |
| org.springframework.ws/spring-xml(Maven) | = 4.0.6 | No fix listed |
| org.springframework.ws/spring-xml(Maven) | = 4.0.7 | No fix listed |
Show 22 more
| Product | Affected versions | Fixed in |
|---|---|---|
| org.springframework.ws/spring-xml(Maven) | = 4.0.8 | No fix listed |
| org.springframework.ws/spring-xml(Maven) | = 4.0.9 | No fix listed |
| org.springframework.ws/spring-xml(Maven) | >= 3.1.0, <= 3.1.8 | No fix listed |
| org.springframework.ws/spring-xml(Maven) | = 3.1.0 | No fix listed |
| org.springframework.ws/spring-xml(Maven) | = 3.1.1 | No fix listed |
| org.springframework.ws/spring-xml(Maven) | = 3.1.2 | No fix listed |
| org.springframework.ws/spring-xml(Maven) | = 3.1.3 | No fix listed |
| org.springframework.ws/spring-xml(Maven) | = 3.1.4 | No fix listed |
| org.springframework.ws/spring-xml(Maven) | = 3.1.5 | No fix listed |
| org.springframework.ws/spring-xml(Maven) | = 3.1.6 | No fix listed |
| org.springframework.ws/spring-xml(Maven) | = 3.1.7 | No fix listed |
| org.springframework.ws/spring-xml(Maven) | = 3.1.8 | No fix listed |
| Spring Web Services | >= 5.0.0, < 5.0.1.1 | 5.0.1.1 |
| Spring Web Services | >= 4.1.0, < 4.1.3.1 | 4.1.3.1 |
| Spring Web Services | >= 4.0.0, < 4.0.19 | 4.0.19 |
| Spring Web Services | >= 3.1.0, < 3.1.9 | 3.1.9 |
| org.springframework.ws/spring-xml(Maven) | >= 5.0.0, <= 5.0.1 | No fix listed |
| org.springframework.ws/spring-xml(Maven) | >= 4.1.0, <= 4.1.3 | No fix listed |
| broadcom spring web services | < 3.1.9 | 3.1.9 |
| broadcom spring web services | >= 4.0.0, < 4.0.19 | 4.0.19 |
| broadcom spring web services | >= 4.1.0, < 4.1.3.1 | 4.1.3.1 |
| broadcom spring web services | >= 5.0.0, < 5.0.1.1 | 5.0.1.1 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- github.com product
- spring.io vendor-advisory
- Red Hat CVE page vendor-advisory
- Red Hat Bugzilla 2487794 issue-tracking
- www.cve.org
- github.com