Business & Web AdviceWeb Design

The PHP Security Scare: What It Means for Your Website

Published on 22 October 2026 by Mark

If you've seen the news this week, you'll know something big has gone wrong with PHP, the programming language behind a huge share of the world's websites. Councils have taken their sites offline, the UK's National Cyber Security Centre has told organisations to update immediately, and security researchers are calling it one of the most severe flaws ever found in PHP.

Here's what has happened in plain English, how to tell if your website is affected, what to do about it, and why sites I build aren't touched by it.

What Happened

On 21 October 2026, PHP released emergency fixes for two critical flaws, now known together as PHP2Shell (CVE-2026-109618 and CVE-2026-109619). They were found by researchers at Wiz, working with AI tools, and the vulnerable code had been sitting in PHP for more than a decade.

Put simply, the flaws can let an attacker:

  • Run their own code on your web server, without needing a password or login.
  • Read passwords, keys and other secrets held in the server's memory.

Wiz demonstrated the attack against standard installs of WordPress, Drupal and Joomla, three of the most widely used website platforms. Every PHP version going back to 5.4 is affected by at least one of the two flaws, and there are reports of attackers already trying to exploit them.

Why It's Such a Big Deal

PHP runs around 70% of the websites whose server language can be identified. Most of that is WordPress, which powers a large share of small business sites in the UK.

The response has been unusually blunt. The NCSC advised organisations to update immediately, use the temporary fixes if they can't, and consider taking affected systems offline if neither is quick. Plenty did exactly that: Edinburgh and Oxford council websites went offline, the Metropolitan Police site went dark, and reports say some BBC programme pages were taken down while they were updated.

When organisations with full IT departments are switching sites off rather than risk it, it's worth a small business owner spending five minutes checking their own.

Is Your Website Affected?

If your site runs on PHP and hasn't been patched, yes. The quickest way to find out what your site is built on:

  • Ask whoever built it or hosts it. They'll know straight away.
  • Think about how you log in to edit it. If you go to an address ending in /wp-admin, it's WordPress, and WordPress runs on PHP.
  • Check your hosting account. Many hosts show a "PHP version" setting in the control panel. If you can see one, your site is almost certainly using it.

Sites built on hosted builders such as Wix or Squarespace are looked after by those companies, so there's nothing for you to update, though it does no harm to check their status pages.

What to Do If It Is

Updating WordPress or its plugins won't fix this. The flaws are in PHP itself, the language WordPress runs on, so the server has to be updated. That's usually your host's job, which is why the first step is a message to them.

  • Ask your host or developer today whether PHP on your server has been updated. The fixed versions are 8.5.12, 8.4.27, 8.3.36 and 8.2.35.
  • If you're on an older version, such as PHP 7 or 8.0, it no longer gets security fixes at all. It needs moving to a supported version, and older sites sometimes need work before they'll run on one.
  • Change your passwords once it's patched, particularly your website admin and any connected services, because the flaws can expose secrets from server memory.
  • If nobody can tell you, take that as a sign the site isn't really being looked after. I wrote about what that costs in why website maintenance matters.

Why ATS Sites Aren't Affected

Every website I build is custom-coded in Next.js, which runs on JavaScript. There's no PHP anywhere in the code or on the server, so PHP2Shell has nothing to attack. A few things about how the sites are built help on days like this:

  • No PHP. The flaw needs PHP running on the server. ATS sites don't have it.
  • No WordPress and no plugins. A typical WordPress site leans on a stack of third-party plugins, each one written by someone else and each one needing its own updates. ATS sites have none to patch.
  • Custom-coded, not a template. The site contains what it needs and nothing else, so there's far less to go wrong.
  • Code backed up on GitHub. The full code for every site is kept on GitHub, with a history of every change.

That doesn't mean ATS sites never need security updates. Any website depends on software that gets updated over time, Next.js included, and keeping on top of those updates is part of looking after a site. The difference is a much smaller attack surface, which means far less to worry about when a story like this breaks.

The Bigger Lesson

Wiz found these flaws with the help of AI, after they'd gone unnoticed for over ten years. The same tools are available to attackers, so it's reasonable to expect more old flaws to come to light, and faster. The sites that cope best will be the ones with less to attack and someone actively keeping them up to date.

It's also a good moment to ask a simple question: do you know what your website is built on, and who's responsible for keeping it patched? If the answer is "not really", that's worth fixing whatever happens with PHP. That's what having a website partner is about.

Quick Answers

What is PHP2Shell?

PHP2Shell is the name given to two critical security flaws in PHP, tracked as CVE-2026-109618 and CVE-2026-109619. Together they can let an attacker run their own code on a web server without logging in, and read passwords and keys from the server's memory. PHP released fixes on 21 October 2026.

Is my WordPress site affected?

Very likely, unless it has been patched. WordPress runs on PHP, and Wiz showed the attack working against standard WordPress, Drupal and Joomla installs. The fix is an update to PHP itself, which is usually done by your host, so ask them whether it has been applied.

Which PHP versions fix it?

PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35 contain the fixes. Older versions, going back to PHP 5.4, are affected and no longer receive security updates, so a site on one of those needs moving to a supported version.

Is updating WordPress or its plugins enough?

No. The flaws are in PHP, the language WordPress runs on, not in WordPress itself. The server's PHP version has to be updated. Keeping WordPress and plugins up to date is still worth doing, but it won't close this hole.

Are ATS websites affected?

No. Every site I build is custom-coded in Next.js, which runs on JavaScript rather than PHP, so there is no PHP on the server to attack.

Running WordPress or another PHP platform and not sure whether you've been patched? Get in touch and I'll take a look free of charge.

Austin Tech Solutions

Rather just have this handled for you?

I build and run websites for businesses that would rather not think about any of this.

Talk to Mark