---
title: "GraphQL Batch Query Supported"
description: "HawkScan test information for plugin 90052: GraphQL Batch Query Supported"
url: https://docs.stackhawk.com/vulnerabilities/90052/
---

[Back to Index](https://docs.stackhawk.com/vulnerabilities/)

# GraphQL Batch Query Supported

###### Reference

- **Plugin ID:** 90052
- **Risk:** High
- **Type:** Active
- **Category:** Server

### Remediation

1. **Disable batch queries**: Turn off batch query support unless specifically required for legitimate use cases.
2. **Implement query complexity analysis**: Add complexity limits to prevent resource exhaustion through batch queries.
3. **Add rate limiting**: Implement rate limiting specifically for GraphQL endpoints to prevent abuse.
4. **Disable introspection**: Turn off GraphQL introspection in production to prevent schema discovery.
5. **Monitor batch usage**: Log and monitor batch query usage for potential abuse patterns.

### About

GraphQL batch query support allows multiple queries to be executed in a single request, which can be exploited for denial-of-service attacks, bypassing rate limiting, or overwhelming server resources. Combined with introspection, attackers can craft complex batch queries targeting discovered schema elements.

### Risks

**Medium** Batch query support can enable DoS attacks, rate limit bypassing, resource exhaustion, and amplification attacks where a single request triggers multiple expensive operations on the server.
