Replies: 2 comments 3 replies
-
/cc @jmartisk (graphql), @phillip-kruger (graphql) |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi @spirostz I tried to answer in the stack overflow question yesterday |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am not sure if Quarkus GraphQL has any build-in CSRF attack protection.
Usually, CSRF attack has to do with posting html forms e.g. for content types: application/x-www-form-urlencoded or multipart/form-data
But, there are scenarios that application/json can also be vulnerable, if for example you disable the CORS.
As I understood, here: https://quarkus.io/guides/security-csrf-prevention quarkus prevents the "form posting" scenarios. Additionally, in the same page we read:
and my assumption here is that quarkus prevents also this and we don't need to do anything else.
Is my assumption correct or I miss something?
If yes, does the same CSRF security solution applied to GraphQL as well?
Thank you
similar question here: https://stackoverflow.com/questions/75735393/does-quarkus-supports-csrf-attack-protection-on-graphql
Beta Was this translation helpful? Give feedback.
All reactions