Web sites are unfortunately prone to security risks.
Web servers open a window between your network and the world. The care taken with server maintenance, web security technologies, web application updates and web site coding will define the size of that window.