Every website has a front door, which is the pages visitors see.
Most business sites also have a back door. It is made of an admin login, a program that builds each page when a visitor asks for it, and a database behind it.
Nearly all successful attacks go through the back door, because that is where the code runs and the passwords are kept.
On a WordPress site the back door is large. These are the figures for 2025 from Patchstack, a company that sells WordPress security:
- 11,334 new security flaws were made public across WordPress, its plugins and its themes.
- Nine in ten were in plugins.
- Nearly half, 46 per cent, had no fix available on the day they were made public.
A static site is built differently. Its pages are made in advance and served as finished files. No program runs on the public server, and there is no database to query.
Your team still has an editor for changing the content. It is reached at an address on the site, but the page there is a finished file like the others and runs no code on the server.
Signing in goes through GitHub, the service where the site’s code is kept, with two-factor authentication. That asks for a second proof of identity as well as a password. A stolen password there cannot run anything on your site.
On a static site, this is what is left to attack:
- the hosting account
- the domain
- the GitHub account
- the tools that build the site
- the code libraries those tools depend on
- any script loaded from a third party
That is a much shorter list. It is not an empty one, and we say so.