Get ahead
VMware offers training and certification to turbo-charge your progress.
Learn moreThe GraphiQL page bundled with Spring for GraphQL sends requests to the GraphQL endpoints of the application. An attacker can share a malicious URL so that the victim's browser might leak confidential information to the attacker's website.
More precisely, an application is vulnerable when all the following are true:
Spring for GraphQL:
| Fix version | Availability |
|---|---|
| 2.0.5 | OSS |
| 2.0.4.1 | Enterprise Support Only |
| 1.4.7 | Enterprise Support Only |
| 1.3.10 | Enterprise Support Only |
| 1.0.8 | Enterprise Support Only |
As a workaround, users who cannot upgrade can disable the bundled GraphiQL endpoint (spring.graphql.graphiql.enabled=false) and,
if an interactive GraphQL explorer is still needed, serve a self-hosted or vendored copy of GraphiQL.
To report a security vulnerability for a project within the Spring portfolio, see the Security Policy