Description
Spring for GraphQL applications that have enabled the WebSocket transport are vulnerable to Cross-Site WebSocket Hijacking. An attacker can trick an authenticated user into visiting a malicious page, allowing the attacker to execute arbitrary GraphQL operations with the victim's credentials.
Affected versions:
Spring for GraphQL 2.0.0 through 2.0.3; 1.4.0 through 1.4.5; 1.3.0 through 1.3.8; 1.0.0 through 1.0.6.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Spring | Spring for GraphQL | 2.0.0 – < 2.0.3.1, 1.4.0 – < 1.4.5.1, 1.3.0 – < 1.3.9, 1.0.0 – < 1.0.7 | 2.0.3.1 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.springframework.graphql:spring-graphql | >= 2.0.0, < 2.0.4 | 2.0.4 | GHSA-m39w-hqxx-3r48 |
| Maven | org.springframework.graphql:spring-graphql | >= 1.4.0, < 1.4.6 | 1.4.6 | GHSA-m39w-hqxx-3r48 |
| Maven | org.springframework.graphql:spring-graphql | >= 1.3.0, <= 1.3.8 | — | GHSA-m39w-hqxx-3r48 |
| Maven | org.springframework.graphql:spring-graphql | >= 1.0.0, <= 1.0.6 | — | GHSA-m39w-hqxx-3r48 |