For a reason, i'm passing my query with GET method through the url. Could that considered as a risk for my whole website, if everybody could see my query?
that would depend on what you are doing to ensure that you are only running the specific query that you expecting via the GET var.