Spring Cloud Gateway's WebsocketRoutingFilter accepts WebSocket handshakes without checking the Origin header.
Spring Cloud Gateway's WebsocketRoutingFilter accepts WebSocket handshakes without checking the Origin header. Browsers do not apply the same-origin policy or CORS to WebSocket handshakes. They only send the Origin header and rely on the server to accept or reject the request. Because the gateway does not reject cross-origin handshakes by default, a malicious web page can cause a victim's browser to open a WebSocket connection through the gateway to a backend service, using any credentials the browser attaches automatically, such as cookies. Applications are affected only if they expose a route with a ws or wss URI through the gateway. Spring Cloud Gateway now rejects cross-origin WebSocket
Read at NIST National Vulnerability Database (CVE API 2.0)
- Vendor
- Spring
- Product
- Spring Cloud Gateway
- CVSS v3.1
- 5.9 AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N
- Exposure class
- Developer platform, Edge / VPN / firewall
- NVD status
- Received
Why it ranks 36 (Notable)
- CVSS v3.1 5.9 medium
- Exposed product class: edge / VPN / firewall
- Widely deployed vendor product (Spring)
- Recency: items published within 24 hours gain 15, within 72 hours 6, within 7 days 2.
Links
- NIST National Vulnerability Database (CVE API 2.0) (nvd.nist.gov)
- CVE-2026-59428 on this site · NVD · CVE.org · Vulnpedia