Blog

PHP's Critical Security Fix: Is Your Website at Risk?

In October PHP patched two critical flaws that affect most WordPress sites. A plain-English guide for business owners: are you affected, and what to ask your host.

On 21 October 2026, the PHP project released emergency fixes for two critical security flaws. If your website runs on WordPress, WooCommerce or most other common website software, it runs on PHP, so this is worth five minutes of your time.

This post is for business owners, not developers. If you want the technical detail, Crooli's newsroom has a full write-up for developers.

What happened, in plain English

PHP is the programming language that powers a large share of the web, including WordPress. In October, PHP's security team fixed two bugs that could let an attacker run their own code on a web server without logging in. Both were rated critical.

Fixed versions were released straight away. Security researchers later reported that working attack code had appeared publicly, which makes unpatched servers an easier target.

Am I affected?

You are probably running PHP if your website:

  • is built on WordPress or WooCommerce
  • uses Joomla, Drupal, Magento or a similar platform
  • runs on traditional shared hosting or cPanel

You are probably not running PHP if your website is:

  • on Shopify, Squarespace or Wix, where the platform handles its own servers
  • a modern site hosted on platforms like Vercel or Netlify that do not use PHP

What needs to happen

If your site does run on PHP, three things need to be true:

  1. PHP is updated to a fixed version. The fixed versions were 8.5.12, 8.4.27, 8.3.36 and 8.2.35, or a later release on the same branch.
  2. The server was restarted after the update. Some setups keep running the old code until they restart, so an update alone is not always enough.
  3. You are on a supported version at all. PHP 8.1 and older no longer get official fixes. PHP 8.2 reaches end of life on 31 December 2026, so if you are on 8.2 it is time to plan a move.
Table 1

The first fixed release on each PHP branch

PHP branchFixed inStill supported?
8.58.5.12 or laterYes
8.48.4.27 or laterYes
8.38.3.36 or laterYes
8.28.2.35 or laterUntil 31 December 2026
8.1 and olderNo official fixNo

If you already know your version, check it here:

Type the version your host or developer gave you, such as 8.3.30. Nothing you type leaves this page.

What to ask your host or developer

Send them this:

Following PHP's critical security release on 21 October 2026, can you confirm which PHP version our site runs on, that it has the fix, and that PHP was restarted afterwards? If we are on PHP 8.2 or older, what is the plan to upgrade?

A good host will have done this already and can reply in minutes. If you get a vague answer or no answer, that tells you something too.

Why this keeps happening

None of this means PHP or WordPress is unsafe. All widely used software has security fixes. PHP put out security releases regularly through 2026, and WordPress plugins update all the time.

The risk is not the bugs. It is sites that nobody is looking after. A website launched three years ago and never updated is running three years of known, published problems.

Questions to ask about any website

Whether or not you run PHP, it is worth knowing the answers to these:

Questions to ask about any website

0 of 4 done
  • Who applies security updates, and how quickly?
  • Are there daily backups, and has anyone tested restoring one?
  • Who gets told if the site goes down?
  • Is the software on a version that still gets fixes?

If the answer to any of these is "I don't know", that is what managed hosting and support is for. We apply updates, keep backups, monitor the site and give you one place to ask for help. It works for sites we build and for existing sites after a short review.

You can also run our free website audit for a quick check on security headers, HTTPS and other trust signals.

Share

Tell us what you’re working on

Send a short message or book a call. We reply within one working day.