GHSA-m39w-hqxx-3r48
Spring for GraphQL: Cross-Site WebSocket Hijacking
Quick fix
GHSA-m39w-hqxx-3r48 — org.springframework.graphql:spring-graphql: upgrade to the fixed version with the command below.
# pom.xml: bump <version>2.0.4</version> for org.springframework.graphql:spring-graphql 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.
Are you affected?
Enter the version of the package you're using.
Affected packages
2.0.0 Fixed in: 2.0.4 # pom.xml: bump <version>2.0.4</version> for org.springframework.graphql:spring-graphql 1.4.0 Fixed in: 1.4.6 # pom.xml: bump <version>1.4.6</version> for org.springframework.graphql:spring-graphql 1.3.0 No fixed version published yet for org.springframework.graphql:spring-graphql (maven). Pin to a known-safe version or switch to an alternative.
1.0.0 No fixed version published yet for org.springframework.graphql:spring-graphql (maven). Pin to a known-safe version or switch to an alternative.