A AegiFlow
HIGHCVSS 8.2EPSS 0.4%

CVE-2026-40998

CVE-2026-40998 updated by NVD

Published
2026-06-11
Modified
2026-09-06
EPSS percentile
28%
Sources
github-advisory, nvd

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.

Affected packages

EcosystemPackageAffected versionsFixed versions
Mavenorg.springframework.ws:spring-xml5.0.2, 4.1.4

Remediation: Upgrade to 5.0.2 or later.

References

Includes data from the GitHub Advisory Database, licensed under CC-BY 4.0.

Includes data from the National Vulnerability Database (NIST). NVD data is in the public domain; this page is not endorsed by NIST.

CVE® is a registered trademark of The MITRE Corporation. CVE content reproduced under the CVE Terms of Use; copyright designation © MITRE.

EPSS scores provided by the FIRST.org Exploit Prediction Scoring System.