Has a WordPress installation which has been setup and maintained correctly ever been hacked? I assume not. I certainly haven't heard of that happening before.

So I guess until that happens, it's safe to assume that WordPress is as safe if not safer to use than most other web software.