Jaxp13 XPath XXE via StreamSource and SAXSource
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| VMware | Spring Web Services | 5.0.0 to before 5.0.1.1; 4.1.0 to before 4.1.3.1; 4.0.0 to before 4.0.19; 3.1.0 to before 3.1.9 | 5.0.1.1, 4.1.3.1, 4.0.19, 3.1.9 | Patch available | CNA |
| — | org.springframework.ws:spring-xml (Maven) | 5.0.0 to before 5.0.2 | 5.0.2 | Patch available | GHSA-2mpf-m756-hxjm |
| — | org.springframework.ws:spring-xml (Maven) | 4.1.0 to before 4.1.4 | 4.1.4 | Patch available | GHSA-2mpf-m756-hxjm |
| — | org.springframework.ws:spring-xml (Maven) | 4.0.0 – 4.0.18 | — | No fix listed | GHSA-2mpf-m756-hxjm |
| — | org.springframework.ws:spring-xml (Maven) | 3.1.0 – 3.1.8 | — | No fix listed | GHSA-2mpf-m756-hxjm |
- Spring Web Services VendorVMware Affected 5.0.0 to before 5.0.1.1; 4.1.0 to before 4.1.3.1; 4.0.0 to before 4.0.19; 3.1.0 to before 3.1.9 Fixed in 5.0.1.1, 4.1.3.1, 4.0.19, 3.1.9 Patch available CNA
- org.springframework.ws:spring-xml (Maven) Vendor— Affected 5.0.0 to before 5.0.2 Fixed in 5.0.2 Patch available GHSA-2mpf-m756-hxjm
- org.springframework.ws:spring-xml (Maven) Vendor— Affected 4.1.0 to before 4.1.4 Fixed in 4.1.4 Patch available GHSA-2mpf-m756-hxjm
- org.springframework.ws:spring-xml (Maven) Vendor— Affected 4.0.0 – 4.0.18 Fixed in — No fix listed GHSA-2mpf-m756-hxjm
- org.springframework.ws:spring-xml (Maven) Vendor— Affected 3.1.0 – 3.1.8 Fixed in — No fix listed GHSA-2mpf-m756-hxjm
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:broadcom:spring_web_services:*:*:*:*:*:*:*:* | 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 | Vulnerable | Broadcom |
- cpe:2.3:a:broadcom:spring_web_services:*:*:*:*:*:*:*:* Versions 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 Vulnerable ·Broadcom
Remediation
- Fix · CNA Spring Web Services (Spring) Fixed in 5.0.1.1, 4.1.3.1, 4.0.19, 3.1.9
- Fix · GHSA-2mpf-m756-hxjm org.springframework.ws:spring-xml (Maven) Fixed in 5.0.2 Advisory →
- Fix · GHSA-2mpf-m756-hxjm org.springframework.ws:spring-xml (Maven) Fixed in 4.1.4 Advisory →
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
Spring Web Services 3.1.9, 4.0.19 and 2 more versions
7 records Highest priority Priority MEDIUM 3 MEDIUM, 4 LOW
Other records, highest priority first
- TI-2026-29650 Spring WS SSRF via unvalidated WS-Addressing reply destinationsPriority MEDIUM 43
- TI-2026-29645 Wss4jSecurityInterceptor disables WS-I BSP validation by defaultPriority MEDIUM 41
- TI-2026-29648 SOAP security faults leak Spring Security account statePriority LOW 30
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
Not affected: 1 product
- Red Hat Fuse 7
Timeline
- 2026-10-02 Threatist record created from CVE-2026-40998
- 2026-10-03 Alias added: GHSA-2mpf-m756-hxjm
- 2026-10-09 Affected versions changed · Red Hat
References
More VMware vulnerabilities
- TI-2026-42442 vCenter directory-traversal vulnerability KEVCVSS 3.1CRITICAL 9.8
- TI-2024-26040 Privilege escalation in VMware vCenter Server KEVCVSS 3.1CRITICAL 9.8
- TI-2024-26039 Heap-overflow in VMware vCenter Server KEVCVSS 3.1CRITICAL 9.8
- TI-2024-24610 Out-of-bounds write in VMware vCenter Server KEVCVSS 3.1CRITICAL 9.8
- TI-2023-16914 VMware vCenter Server Out-of-Bounds Write Vulnerability KEVCVSS 3.1CRITICAL 9.8
- TI-2023-07303 Command injection in Aria Operations for Networks KEVCVSS 3.1CRITICAL 9.8
Sources
- CVE-2026-40998 · CVE Program
- CVE-2026-40998 · NVD
- FIRST EPSS
- GHSA-2mpf-m756-hxjm · GitHub Advisory Database · CC BY 4.0
- CVE-2026-40998 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences