Security mailing lists by PureSourceCode

CVE-2026-40998

HIGH 8.2CVSS 3.1

Spring Web Services: Jaxp13 XPath XXE via StreamSource and SAXSource

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.

Published
11 Jun 2026
Last modified
4 Sep 2026
Assigned by
security@vmware.com
NVD status
Analyzed
Weakness
CWE-611
Also known as
GHSA-2mpf-m756-hxjm
Sources
NVDJSONOSV GHSA-2mpf-m756-hxjmJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security@vmware.com (Secondary) CVSS 3.1 HIGH 8.2 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
OSV GitHub CVSS 3.1 HIGH 8.2 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD broadcom spring_web_services
cpe:2.3:a:broadcom:spring_web_services:*:*:*:*:*:*:*:*
< 3.1.9 3.1.9
NVD broadcom spring_web_services
cpe:2.3:a:broadcom:spring_web_services:*:*:*:*:*:*:*:*
>= 4.0.0, < 4.0.19 4.0.19
NVD broadcom spring_web_services
cpe:2.3:a:broadcom:spring_web_services:*:*:*:*:*:*:*:*
>= 4.1.0, < 4.1.3.1 4.1.3.1
NVD broadcom spring_web_services
cpe:2.3:a:broadcom:spring_web_services:*:*:*:*:*:*:*:*
>= 5.0.0, < 5.0.1.1 5.0.1.1
OSV Maven org.springframework.ws:spring-xml >= 5.0.0, < 5.0.2 5.0.2
OSV Maven org.springframework.ws:spring-xml >= 4.1.0, < 4.1.4 4.1.4
OSV Maven org.springframework.ws:spring-xml >= 4.0.0, <= 4.0.18
OSV Maven org.springframework.ws:spring-xml >= 3.1.0, <= 3.1.8

References

History

  • 25 Nov 2026 21:03 UTC · NVD: first stored (published 11 Jun 2026)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 11 Jun 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.