Description

Your web application's GraphQL implementation accepts non-JSON queries over GET requests, increasing the risk of Cross-Site Request Forgery (CSRF) attacks. While JSON-based POST requests are generally considered resistant to CSRF, non-JSON GET requests are more susceptible to this type of attacks.

Remediation

Restrict GraphQL queries to JSON-based POST requests to limit the CSRF attack surface.

References

Related Vulnerabilities