CVE-2026-40998
published high CVSS 3.1 · 8.2Jaxp13 XPath XXE via StreamSource and SAXSource
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Spring | — | Spring Web Services5.0.0 to < 5.0.1.1 · 4.1.0 to < 4.1.3.1 · 4.0.0 to < 4.0.19 · 3.1.0 to < 3.1.9 · Other versions: unaffected | Affected | Not stated | vmware |
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. 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.2 / 10
- Severity
- high
- Provider
- vmware · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Spring | Spring Web Services | 5.0.0 to < 5.0.1.1 (affected · custom)4.1.0 to < 4.1.3.1 (affected · custom)4.0.0 to < 4.0.19 (affected · custom)3.1.0 to < 3.1.9 (affected · custom)Default: unaffected | vmware · cna |
Weaknesses
1- CWE-611 CWE-611: Improper Restriction of XML External Entity Reference
References
1Provider assertions
2vmware · cna
Jaxp13 XPath XXE via StreamSource and SAXSource
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- b819840e175dd7dcefbd337467cbfd91973123d0cf6bd554e9aa2ee8acbd9e03
- Ingested
- 23 Sep 2026, 09:13:21 UTC
- Source record
- Official CVE record