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
Drupal trusted_host_patterns setting not configured
WordPress Plugin WPCS-WordPress Currency Switcher Cross-Site Request Forgery (1.1.6)
WordPress Plugin Post to Twitter Cross-Site Request Forgery (0.7)
WordPress Plugin PWG Random Cross-Site Request Forgery (1.11)
WordPress Plugin WP Open Graph Cross-Site Request Forgery (1.6.1)