PHP Vulnerability: What Small Business Website Owners Should Do Now
Two critical PHP flaws disclosed in October 2026 affect most WordPress, WooCommerce, Drupal and Magento sites. Here's how to tell if your site is exposed, what to do this week, and what to ask whoever runs it.
By BuildlyPublished November 22, 20268 min readRead in Arabic

The PHP vulnerability in the news since late October 2026 is really two critical flaws, nicknamed "PHP2Shell" (CVE-2026-109618 and CVE-2026-109619), in PHP itself: the software on your web server that runs WordPress, WooCommerce, Drupal, Magento and most other content systems. According to the PHP project's security release of October 21, 2026, both can let an attacker run code on the server without logging in, and the only complete fix is to update PHP to 8.5.12, 8.4.27, 8.3.36 or 8.2.35 (or newer).
If your website or online store runs on WordPress or another PHP system, it is probably affected, even if every plugin and theme is up to date, because the problem sits underneath your site, not in it. The good news is that what you need to do is clear: find out which PHP version your site runs, get your host to confirm in writing that it's patched, and then check your backups, updates and admin accounts. This guide walks through it in plain English, for owners rather than developers.
What happened, in three sentences
On October 20, 2026 the PHP team warned administrators that emergency fixes were coming, and on October 21 it shipped patched releases for every supported version, rating both flaws 9.2 out of 10 for severity (PHP release notes). The same day, the NSA and CISA urged organizations to patch immediately, and to take PHP systems offline if they couldn't. In Europe, Reuters reported that government portals in the Netherlands, Finland, France and Denmark were taken offline as a precaution while the fix landed.
Why so much attention? PHP runs about 68% of websites whose server language is known, according to W3Techs (as of November 2026). Cloudflare's CTO confirmed to BleepingComputer that the company was already seeing early attacks before the patches shipped.
The short version for owners: this isn't a bad plugin or theme. It's the foundation your site runs on. A WordPress dashboard that says "everything is up to date" does not tell you whether PHP has been patched.
Is my website vulnerable to the PHP vulnerability?
Answer three questions.
1. Does your site run on PHP? WordPress, WooCommerce, Drupal, Joomla, Magento (Adobe Commerce), PrestaShop, OpenCart and Laravel apps all do. Hosted builders such as Wix, Squarespace and Shopify run their own servers, so updating them is the platform's job, not yours. For those, keep an eye on the platform's status announcements and protect your account with a strong password and two-factor sign-in.
2. Which PHP version is it on? If it's older than the fixed release for its branch, it's exposed. The PHP project says every installation that serves web requests is affected, including PHP-FPM, Apache with mod_php, php-cgi, FrankenPHP and LiteSpeed, with the highest risk on mod_php (PHP advisory).
3. Is that version still supported at all?
| PHP branch | Fixed version | Support status (php.net) |
|---|---|---|
| 8.5 | 8.5.12 or newer | Supported |
| 8.4 | 8.4.27 or newer | Supported |
| 8.3 | 8.3.36 or newer | Supported |
| 8.2 | 8.2.35 or newer | Reaches end of life December 31, 2026 |
| 8.1 and older (including 7.4) | No official release | Unsupported: only minimal source backports or a vendor's long-term support. Plan an upgrade |
One caveat: some hosts patch PHP through their Linux distribution's packages without changing the version number you see. So don't rely on the number alone. Ask your host to confirm the fix by name.
How to check your PHP version
- In WordPress: go to Tools → Site Health → Info and open the "Server" section (WordPress Site Health guide). The PHP version is listed there, and Site Health may also warn that your site runs an outdated PHP version.
- In your hosting control panel: in cPanel, look for "Select PHP Version" or "MultiPHP Manager"; in Plesk, check the domain's PHP settings. Menu names vary by host.
- Ask your host: open a support ticket and ask for the PHP version, whether it includes the fixes for CVE-2026-109618 and CVE-2026-109619, and the date they were applied.
What to do this week: a checklist
- Take a full backup now, files and database, and keep a copy somewhere other than the same server. Updates can break things, and a backup lets you roll back.
- Get PHP updated to the fixed release for your branch (or newer), and get written confirmation with the date. On shared hosting your host usually does this; on a VPS it's you or your developer.
- If you're on PHP 8.1 or older, plan the move to a supported branch. Test it on a copy of the site (a staging site) first, because old plugins and themes can break on newer PHP. On PHP 8.2, plan the next upgrade too, since support ends December 31, 2026.
- Update WordPress core, plugins and themes, and delete the ones you don't use. This flaw is in PHP, but plugins remain the biggest source of WordPress vulnerabilities: Patchstack counted 11,334 new vulnerabilities in the WordPress ecosystem in 2025, about 91% of them in plugins.
- Review admin accounts and passwords on the site, the hosting panel and the database. Remove accounts you don't recognise or no longer need, change passwords, and turn on two-factor sign-in where it's offered. Security experts quoted by SecureWorld recommend rotating passwords and keys on internet-facing PHP servers even without signs of a break-in, because the flaw can expose data held in memory.
- Look for signs of an earlier break-in. Patching closes the door but doesn't remove anyone who got in first. CISA advises watching for suspicious activity such as PHP processes launching commands or downloading tools. Ask your developer or host to check for unfamiliar files (especially
.phpfiles in the uploads folder), unknown admin users, and odd entries in the logs since October 20. - Test the site after updating: contact forms, checkout and payment, account sign-in and order emails. For a store, place a full test order.
Your host may mention "mitigations" such as firewall rules or configuration changes. The PHP project and CISA both say these can reduce exposure for a short time, but they are not a substitute for installing the fixed version.
Questions to send whoever runs your site
Copy these into an email to your host, developer or agency:
- Which PHP version is my site running right now? Does it include the fixes for CVE-2026-109618 and CVE-2026-109619, and when were they applied?
- If my PHP branch is out of support, what's the upgrade plan, and who tests that my plugins and theme still work?
- When was the last backup taken, where is it stored, and has a restore ever been tested?
- Have you checked the server for unfamiliar files, accounts or activity since the flaws were announced?
- Who updates WordPress, plugins and themes, and how often?
If you can't get clear answers within a few days, that tells you something important about the care your site is getting.
Why sites stay unpatched: nobody owns the updates
Most small business sites that go unpatched aren't neglected on purpose. The problem is that responsibility is split, and each party assumes someone else has it covered.
| Task | Shared or managed hosting | VPS run by you or a developer | You, the owner |
|---|---|---|---|
| Update PHP on the server | Usually the host | You or your developer | Confirm it happened |
| Choose a supported PHP branch | Often you, in the control panel | You or your developer | Approve the upgrade |
| Update WordPress, plugins, themes | Usually not | Developer, if it's in the agreement | Yours unless someone has it in writing |
| Backups | Sometimes: check the terms | You or your developer | Make sure they exist and restore |
| Check for signs of a break-in | Usually limited | Developer | Ask for it and follow up |
A website built by a freelancer, hosted somewhere cheap, and edited by a staff member is the classic gap: the freelancer has moved on, the host only patches its own servers, and the staff member doesn't know PHP exists. Write the responsibilities down, with names.
What ongoing website maintenance should include
This PHP vulnerability will fade from the news, but the lesson won't: a website is software running on other software (the server's operating system, PHP, the database, WordPress, plugins), and all of it needs updating. The same Patchstack report found that 46% of WordPress-ecosystem vulnerabilities had no fix available when they were made public, which is why keeping fewer plugins and checking regularly matters.
Whoever looks after your site should cover, at a minimum:
- Server and PHP updates, applied promptly when security releases come out, and upgrades before a branch reaches end of life.
- Application updates: CMS core, plugins and themes, tested before or right after they go live.
- Backups stored off the server, with restores actually tested.
- Monitoring for downtime and unusual activity.
- A named person you can ask "are we patched?" and get an answer the same week.
For what this typically costs, see our breakdown of website maintenance cost for small businesses.
Having it built, hosted and maintained in one place
One way to avoid the "who owns updates?" gap is to have the same team build, host and maintain your site. That's how Buildly works: we design and build your website or store, then host and maintain it for a monthly running price that covers hosting, security updates, backups and monitoring. You can see what that includes on our maintenance and hosting pages.
For a small business website on the Essential plan, the build is $100 a month for at least one month, then the running price is $35/month (a launch price; the regular price is $60, and clients who subscribe now keep $35 for as long as they stay subscribed). There's no setup fee, it's month to month, and the code and database are yours once the build month is paid. After delivery, fixes to delivered work are free. Larger stores and web apps sit on bigger plans, listed on our pricing page. We recommend the technology in your written scope, whether that's WordPress, WooCommerce or custom code, and scoping is free: send a brief and you'll get a written scope and price, approving each stage before the next begins.
This article is general information for business owners, based on the PHP project's advisory and official agency guidance as of November 18, 2026. Ask your host what applies to your specific server.
Frequently asked questions
What is the PHP vulnerability in the news?
It's two critical flaws in PHP itself, CVE-2026-109618 and CVE-2026-109619, nicknamed PHP2Shell. The PHP project disclosed them and released fixes on October 21, 2026. They can let an attacker run code on a web server without logging in, and are fixed in PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35.
Does the PHP vulnerability affect WordPress sites?
Yes. WordPress and WooCommerce run on PHP, so a site can be exposed even when WordPress, plugins and themes are fully updated. What matters is whether the PHP version on the server has been patched.
How do I check which PHP version my site uses?
In WordPress, go to Tools, then Site Health, then Info, and open the Server section. You can also find it in your hosting control panel (for example Select PHP Version in cPanel), or ask your host directly, which is the best way to confirm the fix was applied.
Is my Wix, Squarespace or Shopify site affected?
On fully hosted builders, the platform runs and updates the servers, so there's nothing for you to patch. Follow the platform's official announcements and protect your account with a strong password and two-factor sign-in.
Is PHP 7.4 still safe?
PHP 7.4 and every branch up to 8.1 no longer get official updates, so there is no official fixed release for them. The PHP team published only minimal source backports, and some Linux vendors offer long-term support. The safer path is to upgrade to a supported branch.
Is updating PHP enough to protect my website?
Updating PHP closes these two flaws, but it doesn't remove anyone who got in before the update, and it doesn't fix plugin or theme vulnerabilities. Also check for unknown admin users and files, change passwords, and keep regular backups and updates.
Sources
- PHP: Security release 8.5.12, 8.4.27, 8.3.36 and 8.2.35 (Oct 21, 2026)
- NSA Advisory: PHP updates
- CISA: Critical Vulnerabilities in PHP Require Immediate Patching
- Reuters (via GV Wire): Government websites go dark as software flaw sparks security scramble
- BleepingComputer: PHP ships emergency patches for critical PHP2Shell flaws
- SecureWorld: Patch PHP Vulnerability Now or Take It Offline, NSA Warns
- W3Techs: Usage statistics of PHP for websites
- Patchstack: State of WordPress Security in 2026
- WordPress.org: Site Health screen



