{"cve":"CVE-2026-40998","nvd":{"published":"2026-06-11T07:16:27.787","modified":"2026-09-04T18:19:26.960","status":"Analyzed","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.\n\nAffected versions:\nSpring 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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","score":8.2},"cwes":["CWE-611"],"references":["https://spring.io/security/cve-2026-40998"],"products":["broadcom:spring_web_services"],"source":"nvd","synced_at":"2026-10-19T22:38:48.522727527+00:00"},"epss":{"cve":"CVE-2026-40998","score":0.00352,"percentile":0.28911,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-2mpf-m756-hxjm","url":"https://osv.dev/vulnerability/GHSA-2mpf-m756-hxjm","summary":"Spring Web Services: Jaxp13 XPath XXE via StreamSource and SAXSource","modified":"2026-08-21T19:25:59.024029Z","packages":[{"ecosystem":"Maven","name":"org.springframework.ws:spring-xml","purl":"pkg:maven/org.springframework.ws/spring-xml","ranges":[">=5.0.0 <5.0.2"],"fixed":["5.0.2"]},{"ecosystem":"Maven","name":"org.springframework.ws:spring-xml","purl":"pkg:maven/org.springframework.ws/spring-xml","ranges":[">=4.1.0 <4.1.4"],"fixed":["4.1.4"]},{"ecosystem":"Maven","name":"org.springframework.ws:spring-xml","purl":"pkg:maven/org.springframework.ws/spring-xml","ranges":[">=4.0.0 <=4.0.18"],"fixed":[]},{"ecosystem":"Maven","name":"org.springframework.ws:spring-xml","purl":"pkg:maven/org.springframework.ws/spring-xml","ranges":[">=3.1.0 <=3.1.8"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}