cvelo
P3 · MediumCVSS 5.9EPSS 0.3%

Client-side schema validation of a response can bypass its WS-Security validation

  • CVE-2026-59371
  • GHSA-hrqf-4wxp-w2vq
  • EUVD-2026-140869

Description

A client that sets validateResponse on PayloadValidatingInterceptor did not reject a response that failed schema validation. The errors were logged and the response was returned to the application anyway, and the rest of the interceptor chain was skipped, including any interceptor declared before the validating one. This issue only affects deployments where all the following are true: The client declares a PayloadValidatingInterceptor with validateResponse set to true . A response-securing interceptor, such as Wss4jSecurityInterceptor validating responses, is declared before that validating interceptor in the client's interceptor list. As Wss4jSecurityInterceptor validates responses by default, a response that failed schema validation therefore reached the application with its WS-Security header never checked. An attacker able to supply the response can bypass signature and encryption checks by making the payload schema-invalid. Fixed versions reject such a response with a WebServiceValidationException .

Text from the CVE.org record.

Affected

  • Spring Spring Web Services

    • from 5.0.0 to before 5.0.3.1
    • from 4.1.0 to before 4.1.5
    • from 4.0.0 to before 4.0.20
    • before 3.1.10
    • from 5.0.0 to before 5.0.4

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.