CVE-2026-40998

HIGH CVSS 3.1: 8.2 EPSS 0.35%
Updated Sep 04, 2026
Broadcom
Parameter Value
CVSS 8.2 (HIGH)
Affected Versions 4.0.0 — 5.0.1.1
Fixed In 3.1.9
Type CWE-611
Vendor Broadcom
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
Low
Partial data modification
Availability
None
No disruption

CVSS Vector v3.1

Weakness Type (CWE)

Vulnerable Products 4

Configuration From (including) Up to (excluding)
Broadcom Spring_Web_Services
cpe:2.3:a:broadcom:spring_web_services:*:*:*:*:*:*:*:*
— 3.1.9
Broadcom Spring_Web_Services
cpe:2.3:a:broadcom:spring_web_services:*:*:*:*:*:*:*:*
4.0.0 4.0.19
Broadcom Spring_Web_Services
cpe:2.3:a:broadcom:spring_web_services:*:*:*:*:*:*:*:*
4.1.0 4.1.3.1
Broadcom Spring_Web_Services
cpe:2.3:a:broadcom:spring_web_services:*:*:*:*:*:*:*:*
5.0.0 5.0.1.1