CVE-2026-40998

Updated on 11 Jun 2026

Severity

8.2 High severity

Details

CVSS score
8.2
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N

Overview

About vulnerability

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, including confidential file disclosure or server-side request forgery through external entities, depending on parser and platform behavior.

Preconditions include exposing XPath evaluation over data controlled or influenced by remote users (directly or through message paths), using the vulnerable source types without an additional hardening layer.

Details

Affected product:
Spring , camel
Affected packages:
Spring Integration @ 5.5.19 (+2851 more)

Fixes