Your web application's GraphQL API has been identified to allow nested queries with circular relationships through introspection. This configuration can lead to complex queries that consume an excessive amount of resources, potentially resulting in a Denial of Service (DoS) attack that reduces the availability of your GraphQL API and affects the overall performance of your web application.
Allowing circular queries in the GraphQL schema can enable attackers to craft queries that exponentially increase in complexity with minimal effort. This vulnerability can lead to a Denial of Service (DoS) attack, significantly impacting the availability and performance of the GraphQL API. Depending on the underlying architecture, the attack may cascade, consuming all available resources on the web server.
Limit Query Depth: Implement a restriction on the maximum query depth allowed in the GraphQL API to prevent excessive nesting and circular queries.

You can search and find all vulnerabilities
