There are a lot of types of bitcoin wallet.
If you are using an online one, there is a possibility for it to be hacked. As long as it is connected to the internet, there is always a possibility. But dont worry, no one would create an online wallet without having it secured.