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
WordPress Plugin MailPoet Newsletters (Previous) Cross-Site Request Forgery (2.6.10)
WordPress Plugin WP Mail Log Cross-Site Request Forgery (1.0.1)
Apache Tomcat examples directory vulnerabilities
WordPress Plugin WooCommerce Cross-Site Request Forgery (2.2.2)
WordPress Plugin WP Meta and Date Remover Cross-Site Request Forgery (1.7.5)