ZeroDay Brief
CVE-2026-40998

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 inst…

CVSS
8.2High
Chance of exploitation (EPSS)
0.35%
Published
Jun 11, 2026
In the news
Not yet
Vendor advisory More from this vendor

What to do

A serious XML parsing flaw in Broadcom Spring Web Services that can be attacked over the network without logging in. No attacks are reported yet; it can go in your normal patch cycle.

Action: Apply the vendor's update or follow its advisory.

Fixed in: 3.1.9, 4.0.19, 4.1.3.1, 5.0.1.1

Affected versions
Spring Web Services
3.1.0 to before 3.1.9; 4.0.0 to before 4.0.19; 4.1.0 to before 4.1.3.1; 5.0.0 to before 5.0.1.1

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.

CWE-611

Affected products

Get alerts for these →

Timeline 1

Latest change: CVE-2026-40998 published (CVSS 8.2) (Jun 11, 2026)

News, advisories, exploit code, scanner detection and exploitation, newest first.

Thu, Jun 11, 2026

  1. CVECVE-2026-40998 published (CVSS 8.2)CVE Program · 07:16 UTC

References 1

  • spring.io Vendor Advisory /security/cve-2026-40998

You are leaving ZeroDay Brief

This link goes to exploit code on a third-party site. We find these links automatically and do not test, review or vouch for them. They may contain malware or fake exploits.

We are not responsible for anything that happens if you open the page or run its code. Never run exploit code on systems you care about.

↑ ↓ moveEnter openEsc closeTry “CVE-2026”, “fortinet” or “ivanti”