cve.bz

CVE-2026-40998

8.2 highEPSS 0.4%

High (8.2) in broadcom spring web services. EPSS 0.4% chance of exploitation in the next 30 days. Fixed in org.springframework.ws:spring-xml 4.1.4, 5.0.2.

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.

Severity

CVSS 3.1

8.2 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
EPSS
0.4% chance of exploitation in the next 30 days; higher than 28% of CVEs (scores of 2026-10-31)
CWE
CWE-611
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-2mpf-m756-hxjmMavenorg.springframework.ws:spring-xml>=5.0.0 <5.0.25.0.2
GHSA-2mpf-m756-hxjmMavenorg.springframework.ws:spring-xml>=4.1.0 <4.1.44.1.4
GHSA-2mpf-m756-hxjmMavenorg.springframework.ws:spring-xml>=4.0.0 <=4.0.18no fix published
GHSA-2mpf-m756-hxjmMavenorg.springframework.ws:spring-xml>=3.1.0 <=3.1.8no fix published

References

Check your stackJSON