Xbox is a secure device and there is no security-related issue in it. And it is absolutely safe to use wifi in Xbox. But using any unknown WiFi connection or using WiFi connection available in public places is not safe for the device.
You should use your own WiFi connection for your device. Because if you connect an unknown WiFi with your device, then anything can be done with your device. That is why it is important to be careful while using WiFi.
We connect the device to the WiFi of any public place to use the Internet for free, but it is not good at all for the security of the device. We are not just talking about Xbox, no matter what device you have like a smartphone, laptop, etc., then you should not connect it with free wifi available in public places until you know that it is wifi secure or not.
How To Know Whether Wifi Is Secure Or Not.
It is a bit difficult to find out whether the free WiFi available in any public place is secure or not because it cannot be detected whether WiFi is safe or not. Only we can find whether WiFi is password protected or not.
To find out whether WiFi is password protected in Android, iOS, Windows, etc. operating systems, we have to see the symbol of connected WiFi, if there is a lock icon in the symbol, then WiFi is password protected.