Unsafe Dependency Resolution Affecting org.springframework.graphql:spring-graphql package, versions [1.0.0, 2.0.5)


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

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 applications
  • Snyk IDSNYK-JAVA-ORGSPRINGFRAMEWORKGRAPHQL-19267447
  • published26 Aug 2026
  • disclosed20 Aug 2026
  • creditUnknown

Introduced: 20 Aug 2026

NewCVE-2026-59286  (opens in a new tab)
CWE-829  (opens in a new tab)

How to fix?

Upgrade org.springframework.graphql:spring-graphql to version 2.0.5 or higher.

Overview

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.

Workaround

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.

CVSS Base Scores

version 4.0
version 3.1