GitHub Advisory Database
GHSA-m39w-hqxx-3r48
Spring for GraphQL: Cross-Site WebSocket Hijacking
Details
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 packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | org.springframework.graphql:spring-graphql | From 2.0.0 before 2.0.4 (fixed in 2.0.4) |
| Maven | org.springframework.graphql:spring-graphql | From 1.4.0 before 1.4.6 (fixed in 1.4.6) |
| Maven | org.springframework.graphql:spring-graphql | From 1.3.0 up to and including 1.3.8 |
| Maven | org.springframework.graphql:spring-graphql | From 1.0.0 up to and including 1.0.6 |