CVE-2026-40998
highpriority · track · 0EPSS 0.004 · 29 %ileEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (12)
Products and version ranges known to be affected.
- broadcom spring web services4.0.0 → 4.0.19nvdUScpe:2.3:a:broadcom:spring_web_services:*:*:*:*:*:*:*:*
- broadcom spring web services4.1.0 → 4.1.3.1nvdUScpe:2.3:a:broadcom:spring_web_services:*:*:*:*:*:*:*:*
- broadcom spring web services5.0.0 → 5.0.1.1nvdUScpe:2.3:a:broadcom:spring_web_services:*:*:*:*:*:*:*:*
- Maven org.springframework.ws:spring-xml3.1.0 → 3.1.8osvUSpkg:maven/org.springframework.ws/spring-xml
- Maven org.springframework.ws:spring-xml4.0.0 → 4.0.18osvUSpkg:maven/org.springframework.ws/spring-xml
- Maven org.springframework.ws:spring-xml4.1.0 → 4.1.4osvUSpkg:maven/org.springframework.ws/spring-xml
- Maven org.springframework.ws:spring-xml5.0.0 → 5.0.2osvUSpkg:maven/org.springframework.ws/spring-xml
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-2mpf-m756-hxjmSpring Web Services: Jaxp13 XPath XXE via StreamSource and SAXSource2026-06-11ghsa · osvUS
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.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (4)
External citations — patches, advisories, analysis.
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan