The PHP vulnerability of 21 October: what does it mean for your website?
On Wednesday 21 October, well-known websites around the world went offline as a precaution. The cause: two critical vulnerabilities in PHP, the programming language that a lot of software runs on. An update is now available. Below you can read what was going on, what it means for your website and what you can do in the future.
- What happened?
- Has it been fixed?
- What are hackers after?
- The difference between PHP and WordPress
- Why a good hosting provider makes the difference
- Why maintenance matters
- What now?
- What can you do yourself in the future?
- What does going offline mean for your online visibility in Google and AI?
- Frequently asked questions about the 21 October vulnerability

What happened?
On 20 October, details leaked about two serious vulnerabilities in PHP, before a fix was ready. The vulnerabilities are called CVE-2026-109618 and CVE-2026-109619 and are also known as PHP2Shell. The PHP security team gave both a score of 9.2 out of 10.
Through these vulnerabilities, an attacker can remotely run their own code on a web server without logging in. One specially crafted request to your website is enough, and it happens before WordPress or any other system even gets involved. In the worst case, someone can take over the entire server this way. According to the NCSC (Dutch National Cyber Security Centre), every system running PHP that is reachable from the internet is likely vulnerable, as long as PHP has not been updated.
Around 70 percent of all websites run on PHP. Many organisations therefore decided to play it safe. Among others, DigiD, MijnOverheid, the Dutch House of Representatives, the NCSC and the IT network for higher education went offline temporarily, as did RTL, Tweakers and several hospitals. Why one vulnerability affects so many websites is explained by SecurityWeek in this background article.
Has it been fixed?
Yes, for the PHP versions that are still supported. On Wednesday afternoon, around 3:35 pm Dutch time, the PHP team released the updates: PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35. If your website runs on one of these versions or newer, the vulnerability has been closed.
There are two caveats, though:
- The update has to be installed on your server. The vulnerability is only closed once your hosting provider has installed the new version and restarted PHP.
- PHP 8.1 and older will not get a new version. The PHP team no longer releases updates for those versions. You then depend on your hosting provider’s own fix, or you switch to a newer version.
Since the update was released, websites have slowly been coming back online. RTL and Tweakers were reachable again around 5 pm, followed by hospitals and municipalities. On 21 October, the NCSC, the American cyber agency CISA and the PHP Foundation had not yet seen any active exploitation. Cloudflare did report the first attack attempts. A website that was temporarily offline was actually well protected during those hours.

What are hackers after, and is your website at risk?
Yes, every website that runs on PHP is at risk. Attackers usually don’t pick their targets by hand. They let programs automatically scan the entire internet for servers with a vulnerable PHP version, and for such a scan the size of your website makes no difference.
What an attacker does with a compromised website varies. According to the NOS, someone can use this vulnerability to, among other things:
- steal customer data, such as names, email addresses and orders;
- break further into the company behind the website;
- set up new attacks on the website’s visitors.
With smaller websites, what we mostly see in practice is that the server itself gets misused. Think of sending spam, fake login pages (phishing), hidden links to other websites or scripts that redirect visitors to scam sites. This often only becomes noticeable when Google shows a warning or your email ends up in the spam folder.
The biggest risk over the coming weeks lies with websites that are not updated. According to the NOS, it is precisely the sites of smaller businesses that sometimes run software that is years old. If your website is maintained and runs on a supported PHP version, the vulnerability has now been closed.
What is the difference between PHP and WordPress?
WordPress is the system you use to manage your website: your pages, posts, plugins and theme. It is largely written in PHP. That is both a programming language and the software on the server that runs the WordPress code.
This vulnerability was not in WordPress, but in PHP itself. That means:
- An update of WordPress, your theme or your plugins does not fix this vulnerability.
- A security plugin offers little protection here, because the attack takes place before WordPress is loaded.
- Websites on Drupal, Joomla, Magento or Laravel ran the same risk.
The solution therefore lies on the server, with your hosting provider. Want to know which PHP version your website uses? In WordPress, you can find it under Tools > Site Health, on the Info tab under Server.

Why a good hosting provider makes the difference now
With a vulnerability in PHP, the fix is up to the party that manages your server. How quickly and clearly they act determines how long your website is at risk.
SiteGround, where we host many of our clients’ websites, showed what that looks like in practice:
- Patches before the official release. Hosting providers sometimes receive security updates before the public release. As a result, SiteGround had already updated PHP 8.2, 8.3, 8.4 and 8.5 to the patched versions before the PHP team officially released them.
- A clear message to customers. Customers were told which versions had been updated and that they didn’t need to do anything themselves. No technical instructions, just clarity.
- Old versions cleaned up. As announced earlier, PHP 7.3 and 8.1 had already been removed from the platform. Those are exactly the versions that no longer get updates from the PHP team.
- Offline Mode. Via the menu next to your website (the three dots next to Site Tools), you can take your website offline temporarily with one click. Useful if you want to play it safe yourself during a future vulnerability.

Not every hosting provider works this way. So ask your own hosting provider these questions:
- Do you get notified in advance of a security incident?
- How quickly are PHP updates applied to the server?
- Can you see and choose which PHP version your website uses?
- Are there daily backups that you can restore quickly?
Why maintenance and a fixed point of contact matter
A vulnerability like this shows that a website isn’t finished after launch. Today, it had to become clear quickly which PHP version was running, whether the hosting provider had already patched it and whether taking the site offline was wise. As a business owner, you don’t want to figure that out yourself in between news reports and technical notifications.
With maintenance for your website, you have someone who keeps track of this for you:
- Checking the PHP version and switching to a supported version in good time
- Updates of WordPress, plugins and theme, with a backup beforehand
- Extra checks of your website after a security incident
- One personal point of contact you can call or email when something is going on
Keep an eye on the calendar too. PHP 8.2 will receive security updates until 31 December 2026. If your website runs on 8.2, plan the switch to a newer version now. That way, you won’t be left without an update during a future vulnerability.
What now?
For most websites, the vulnerability has now been closed. At SiteGround, where we host many of our clients’ websites, the patches were even in place before the official release. Other hosting providers have also applied the update by now or are in the process of doing so. In most cases, you don’t need to do anything yourself.
It’s only wise to take a quick look in these situations:
- You’re not sure whether your hosting provider has applied the update, or you manage your own server. Ask them, or check the PHP version via Site Health in WordPress. Versions 8.5.12, 8.4.27, 8.3.36, 8.2.35 and newer are safe.
- Your website runs on PHP 8.1 or older. Those versions will not get an update. Plan a switch to a newer version and have it tested beforehand whether your theme and plugins work on it.
- You notice something strange. Think of unknown administrators, odd redirects or a warning from Google. In that case, contact your website administrator.
Do you have a maintenance contract with Kleidi? Then we keep an eye on your website’s PHP version and will contact you if action is needed.
What can you do yourself in the future?
Sooner or later, another vulnerability will come along. With this preparation, you’ll be in a stronger position:
- Know where your website runs. Write down which hosting provider you use, which PHP version you run and how you log in to the hosting panel.
- Keep your PHP version up to date. Choose a version that still receives security updates. On net you can see until when a version is supported.
- Know how to take your website offline. At SiteGround that’s Offline Mode; at other hosting providers it’s often a maintenance page or an option in the panel. Look it up before you need it.
- Limit what your website can do. Disable forms, uploads or comments that you don’t use. The fewer interactive features, the fewer entry points for an attacker.
- Also keep backups outside your hosting. A backup in another location helps if the server itself is affected.
- Follow reliable sources. The NCSC, the NOS and your hosting provider’s announcements report major vulnerabilities quickly.
- Agree on who does what. Record who checks your website during a vulnerability and takes it offline if needed. With a maintenance contract, that’s your fixed point of contact.
What does going offline mean for your visibility in Google and AI?
Taking your website offline protects it, but it also comes at a price. The shorter you are unreachable, the smaller the damage.
SEO:
- A few hours up to a day or two is usually not a problem. The condition is that your server returns a 503 status code. Google sees that as temporary and comes back later. With a Retry-After header, you indicate when.
- If it lasts longer, pages drop out of the index. Google describes switching off a website completely as a last resort for a few days at most, because it can seriously hurt your rankings. Recovery afterwards can take a long time.
- Never use a 404, noindex or a block in robots.txt to remove your website temporarily. Google will then remove your pages.
- For a longer pause, Google recommends keeping the website online and only limiting features, such as forms or the shopping cart. Read more in Google’s guidelines.
GEO (AI):
- ChatGPT, Perplexity and Google’s AI Overviews often retrieve pages live to give an answer. If your website is offline, they can’t read or cite your information and will refer to another source instead.
- A short interruption recovers as soon as you’re back online. The longer you’re unreachable, the more often someone else gets the mention that would otherwise have gone to you.
You’ll notice it outside search engines too. Ads send paying visitors to an empty page, forms don’t work and with SiteGround Offline Mode, email via their servers doesn’t work either while the mode is on.
Frequently asked questions about the PHP vulnerability
Do I need to update anything in WordPress myself?
No, the vulnerability is in PHP on the server, not in WordPress. Your hosting provider carries out the update. Do check which PHP version your website uses and whether it has been updated.
Has my website been hacked?
On 21 October, no active exploitation had been confirmed yet. To be on the safe side, go through the signs in point 5 of What now? In doubt? Contact your website administrator straight away.
My website runs on PHP 7.4 or 8.1. What now?
The PHP team no longer releases updates for those versions. Some hosting providers fix older versions themselves, but the safest step is to switch to a supported version. Have it tested beforehand whether your website works properly with it.
Why did so many websites go offline?
As a precaution. As long as there was no update, the vulnerability couldn’t be closed. A website that is offline can’t be attacked through this vulnerability.
How do I temporarily take my website offline at SiteGround?
In your SiteGround account, go to Websites, click the three dots next to Site Tools and choose Offline Mode. Switch the option off again as soon as the problem has been resolved and your hosting provider has applied the update.
A vulnerability in PHP affects a large part of the internet, but with good hosting and regular maintenance it doesn’t have to cause panic. Not sure whether your website is safe? Get in touch and we’ll take a level-headed look with you.


