WordPress is a popular open-source content management system (CMS) used to create and manage websites and blogs. It was started in 2003 by Matt Mullenweg and Mike Little. However, 60% of small to medium-sized businesses are running WordPress.Because WordPress is an open-source platform, it has numerous potential vulnerabilities, making it susceptible to hacking. However if your WordPress installation is fully updated, the chances of your website being hacked are very low.
There are several reasons why a WordPress website may be vulnerable to hacking.
5 Common Reasons Your WordPress Website Gets Hacked Repeatedly

The easiest way to avoid all these risks is to always install licensed themes and plugins on your website and choose reliable hosting providers that are well-regarded in the market. If you have your own server, make sure it is regularly updated.
Before installing any plugin or theme, research whether it is regularly updated in the market and check if there are any related CVEs (Common Vulnerabilities and Exposures) publicly available. If vulnerabilities exist, verify whether the plugin has been updated or patched. Additionally, if your team discovers a bug, ensure that it is reported properly.
If you are considering a reliable hosting provider for your WordPress website, first check the market to see what people are saying about it. You can check more information about specific hosting on Trustpilot or famous forums.