Bug 2487794 (CVE-2026-40998) - CVE-2026-40998 org.springframework.ws/spring-xml: Spring Web Services: XML External Entity (XXE) attack via untrusted XML payloads
Summary: CVE-2026-40998 org.springframework.ws/spring-xml: Spring Web Services: XML Ex...
Keywords:
Status: NEW
Alias: CVE-2026-40998
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-06-11 07:01 UTC by OSIDB Bzimport
Modified: 2026-10-02 15:05 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-06-11 07:01:17 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.