Do not believe the myth that WordPress is insecure.
As an open source initiative, WordPress is a powerful Content Management System (CMS), that is constantly being improved by highly skilled people around the world.
It is even being used by several large corporations, who have the money to pursue whatever platform they see fit, but they still prefer WordPress.
WordPress 5.01 addresses seven identified bugs in older versions!
Like with all modern technology, a WordPress site can be hacked if its users are allowed to use simple passwords (with no 2FA), or if a host server’s operating system is not getting updated, as needed.
Unsolicited access can occur through insufficient firewall protection, or by using poorly written code and plugins, or when rogue scripts runs in a shared hosting environment.
Avoid cheap hosting since it likely means your server might be poorly maintained, thus lacking essential updates which would otherwise maintain the integrity and security of your server.
Don’t help would-be hackers by not choosing your plugins wisely, or by failing to do your research about security, they can take advantage of any vulnerability.