CVE-2026-40998CWE-611xxe

CVE-2026-40998

High · published June 11, 2026

CVSS v3.1
8.2
EPSS
0%
Percentile
31.5
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
8.2 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
CVSS v4.0
Not supplied
EPSS
0.00386 · 31.5th percentile
Weakness
CWE-611 · Improper Restriction of XML External Entity Reference
Published
2026-06-11T11:16Z
Affected products (4)
ProductVersionsFixed in
broadcom/spring_web_services< 3.1.93.1.9
broadcom/spring_web_services≥ 4.0.0, < 4.0.194.0.19
broadcom/spring_web_services≥ 4.1.0, < 4.1.3.14.1.3.1
broadcom/spring_web_services≥ 5.0.0, < 5.0.1.15.0.1.1
References (1)
EPSS history
Timeline
  • 11 JUN 05:04Z
    Jaxp13 XPath XXE via StreamSource and SAXSource
    cvelistv5