Vulnerabilities

CVE-2026-40998

High 8.2 CVSS 3.1

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.

Description as published by the source, in English.

Key facts

Published
2026-06-11
Last modified
2026-09-04
Assigned by
security@vmware.com
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
Scored by
security@vmware.com
Probability of exploitation
0.4 % higher than 28 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Not registered in the sources

Affected products

Vendor Product Versions Status
Broadcom Spring Web Services < 3.1.9 Affected
Broadcom Spring Web Services ≥ 4.0.0, < 4.0.19 Affected
Broadcom Spring Web Services ≥ 4.1.0, < 4.1.3.1 Affected
Broadcom Spring Web Services ≥ 5.0.0, < 5.0.1.1 Affected

Weakness type

References

Related at Berigo

Articles

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities