What happened
On October 20–21, the PHP project disclosed two critical vulnerabilities — collectively called "PHP2Shell" — in PHP itself, the programming language that runs WordPress and a huge share of everything else on the web.
The details matter less than the shape of the problem:
- Severity: 9.2 out of 10. Attackers could take over an affected website without a password — and without any action by the site's owner or its visitors.
- Scope: every PHP version from 5 through 8. WordPress, Drupal, Joomla, Magento — and thousands of smaller platforms built on the same foundation.
- The fix: a patch to PHP on the server. Not to WordPress. Not to your theme. Not to your plugins.
Cyber agencies in the US, UK, EU, Canada, Australia, and Singapore issued emergency alerts. Cloudflare detected exploitation attempts within hours of the disclosure.
Why this one was different
Here's the part that should get your attention: nothing you could have done inside WordPress would have protected you.
No security plugin. No firewall plugin. No theme update. The vulnerability ran before any of your website's code executed — it lived in the engine underneath everything.
If your site ran on unpatched PHP, it was exposed. If it ran on a server that patched quickly, it wasn't. Same website software, same plugins, completely different outcome — decided entirely by your hosting provider's response time.
Cheap hosting and safe hosting are different products
Most small businesses run on hosting that costs $5–15 a month. That price exists for a reason — it's a commodity business with thin margins, and fast security patching costs real money.
When PHP2Shell hit, the split was immediate and visible:
- Managed, premium hosts — Automattic (WordPress.com, Pressable, WordPress VIP) patched within hours and announced that every site it hosts was protected.
- Bargain shared hosts — response varied from "patched same day" to "still working on it." Some sites sat exposed for days. Some still are.
And PHP2Shell won't be the last flaw in the foundation. It's the third foundation-layer event in under a month:
- September 29: researchers disclosed a CPU-level flaw (Spectre "BTR") that leaks secrets from fully patched machines — Intel, AMD, and Arm alike. No software you install fully fixes it.
- October 21: PHP2Shell. The same day, Node.js shipped its own remote-code-execution fix. Two days later, Ruby shipped emergency fixes for its regex engine.
The web's foundation is under sustained pressure. "Patch when convenient" is not a security strategy.
What changed for small businesses: the trade-off collapsed
For twenty years, the deal was simple:
- Cheap website = WordPress on inexpensive hosting. Fast to build, huge talent pool, plugins for everything. Security was the price you quietly paid.
- Secure website = custom-built, professionally hosted, professionally maintained. Expensive.
That trade-off is gone. The expensive part of "secure" was always the build and migration work — the developer hours. And in 2026, those hours are increasingly automatable.
An agency developer recently reported converting 45 client WordPress sites to static sites in 36 hours using an AI coding agent. Same look, same content, faster pages — and nothing left to hack. A migration that used to cost thousands per site now takes hours.
The options, ranked
1. Static website + CDN $0–20/mo
The new cheapest and safest. A static site is just files — HTML, CSS, images — served from a global network. No PHP, no database, no server runtime. Nothing to hack, nothing to patch. For most brochure, marketing, and content sites, this is now the default answer.
2. SaaS platforms $16–49/mo
Secure by delegation. Squarespace, Webflow, Wix — you never touch a server; the platform carries the risk and does the patching. Trade-off: less flexibility, and you're renting your presence.
3. Headless CMS + static site $0–45/mo
The editor-friendly middle path. Sanity, Strapi, or Directus for editing, with a static or modern frontend. The vendor manages the risky parts.
4. Managed WordPress $10–50/mo
If you must keep WordPress. Hosts like WordPress.com, Pressable, Kinsta, or WP Engine patch automatically and quickly. You're still on PHP — but someone accountable is watching it. This is the only responsible way to run WordPress now.
5. Self-hosted WordPress on bargain hosting the danger zone
This is where PHP2Shell actually caused damage. If this is you, moving isn't optional — it's overdue.
What to do this week
- Find out your exposure. Ask your host two questions: What PHP version does my site run? When did you patch PHP2Shell? If they can't answer quickly, that's your answer.
- Check the calendar. PHP 8.1 and older are end-of-life — no security fixes, ever. PHP 8.2 goes end-of-life December 31, 2026. If you're on an old version, your host has already told you what they think of your business.
- If your site is mostly content — get a migration quote. Static is cheaper to run, faster to load, and has nothing to hack. The work is measured in hours now, not weeks.
- If you need WordPress-style editing — move to managed hosting. Budget $20–50/month and stop worrying.
- The universal rule: if you can't see your stack, you can't secure it.
The bigger picture
The PHP2Shell story is really a story about visibility and control. Your website was only as safe as the least-visible layer of your infrastructure — and most businesses had no idea what version of anything they were running.
Every business is about to face the same question with AI: the tools are already in use, often invisibly, often outside anyone's oversight. The lesson from the web's worst week of the year is simple — and it applies twice.
If you can't see it, you can't secure it.
Own your stack.
Because "trust us, we patched it" was never a security strategy — for websites, or for AI.