CVE-2026-40998

Source
https://cve.org/CVERecord?id=CVE-2026-40998
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-40998.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-40998
Aliases
Downstream
Published
2026-06-11T05:04:12Z
Modified
2026-09-06T11:45:35Z
Severity
  • 8.2 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N CVSS Calculator
Summary
Jaxp13 XPath XXE via StreamSource and SAXSource
Details

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.

Database specific
{
    "cna_assigner": "vmware",
    "cwe_ids": [
        "CWE-611"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40998.json",
    "unresolved_ranges": [
        {
            "extracted_events": [
                {
                    "introduced": "5.0.0"
                },
                {
                    "fixed": "5.0.1.1"
                },
                {
                    "introduced": "4.1.0"
                },
                {
                    "fixed": "4.1.3.1"
                },
                {
                    "introduced": "4.0.0"
                },
                {
                    "fixed": "4.0.19"
                },
                {
                    "introduced": "3.1.0"
                },
                {
                    "fixed": "3.1.9"
                }
            ],
            "source": "AFFECTED_FIELD"
        },
        {
            "extracted_events": [
                {
                    "introduced": "5.0.0"
                },
                {
                    "fixed": "5.0.1"
                },
                {
                    "introduced": "4.1.0"
                },
                {
                    "fixed": "4.1.3"
                },
                {
                    "introduced": "4.0.0"
                },
                {
                    "fixed": "4.0.18"
                },
                {
                    "introduced": "3.1.0"
                },
                {
                    "fixed": "3.1.8"
                }
            ],
            "source": "DESCRIPTION"
        }
    ]
}
References

Affected packages

Git / github.com/spring-projects/spring-ws

Affected ranges

Type
GIT
Repo
https://github.com/spring-projects/spring-ws
Events
Database specific
Show details
{
    "extracted_events": [
        {
            "introduced": "3.1.0"
        },
        {
            "fixed": "3.1.8"
        }
    ],
    "source": "DESCRIPTION"
}

Affected versions

v3.*
v3.1.0
v3.1.1
v3.1.2
v3.1.3
v3.1.4
v3.1.5
v3.1.6
v3.1.7

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-40998.json"