Resend a GraphQL mutation as a form-encoded POST to test for CSRF on cookie-authenticated endpoints
POST /graphql Content-Type: application/x-www-form-urlencodedquery=mutation{updateEmail(email:"a@example.com"){id}} Tips
A GraphQL API exposes one endpoint with a rich query language, so authorization has to be checked on every field and object. Introspection, batching and nested queries add problems of their own.
Published tips, newest first. Payloads and commands are shown as plain text.
POST /graphql Content-Type: application/x-www-form-urlencodedquery=mutation{updateEmail(email:"a@example.com"){id}} Show the query, the role of the account that sent it, and the data or change it should not have reached.
Writeups on GraphQL, by hunters and researchers, most with a short summary.