In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsUpgrade org.springframework.graphql:spring-graphql to version 2.0.5 or higher.
org.springframework.graphql:spring-graphql is a GraphQL Support for Spring Applications
Affected versions of this package are vulnerable to Unsafe Dependency Resolution via the GraphiQL. An attacker can execute arbitrary JavaScript code in the context of users' browsers by compromising the CDN or the network path to it, allowing access to non-HttpOnly cookies and the ability to issue authenticated same-origin requests, including GraphQL operations.
Note: This is only exploitable if the GraphiQL endpoint is enabled and exposed, and the CDN or its network path is compromised.
This vulnerability can be mitigated by disabling the bundled GraphiQL endpoint (spring.graphql.graphiql.enabled=false) and, if an interactive GraphQL explorer is still needed, serving a self-hosted or vendored copy of GraphiQL.