page index
Share this article:
On LinkedIn, you can come across many posts that say “No more WordPress, I built my website with Claude”. On top of that, three critical security incidents related to WordPress occurred between July and October 2026. This article puts them in context: what happened, where the criticism of WordPress is justified, and which route suits which kind of website.
Status: 16 November 2026. The situation around these vulnerabilities is still developing, and we will review the details again in January 2027.
WordPress remains a good choice for most SMEs, provided someone maintains PHP, updates and plugins. The three incidents from July to October 2026 hit the WordPress core twice and PHP once, and fixes were available the same or the next day. An AI website can be enough for small, rarely changed sites, but only shifts the maintenance.
Quick Facts:
- Three incidents in 14 weeks: Two critical flaws in the WordPress core (17 July and 22 September 2026) and one in PHP (21 October 2026).
- Plugins are the main risk: 91 per cent of the 11,334 new vulnerabilities in the WordPress ecosystem in 2025 were in plugins, and only 6 in the core.
- Our experience: In our test, Claude and Gemini cited our own WordPress website as a source.
What happened in 2026: the three incidents at a glance
We build websites with WordPress and are therefore not neutral. For the facts, we rely on external sources. The three incidents have different causes, and that matters for putting them in context.
| Date | Where the flaw was | Severity | Fix |
|---|---|---|---|
| 17 July 2026 | WordPress core (“wp2shell”), CVE-2026-63030 and CVE-2026-60137 | Critical, code execution without login, also on installations without plugins | WordPress 6.9.5 and 7.0.2 on the same day, automatic updates forced |
| 22 September 2026 | WordPress core, CVE-2026-87902 | Critical (CVSS 9.2), code execution only under certain conditions | WordPress 7.1.2, fixes for older branches back to 4.7.37 |
| 21 October 2026 | PHP itself (“PHP2Shell”), CVE-2026-109618 and CVE-2026-109619 | Critical (CVSS 9.2 each), code execution without login, BSI warning level 3 of 4 (in German) | PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35, not WordPress |
WordPress core: two flaws, both fixed on the day of disclosure
In both wp2shell and CVE-2026-87902, the flaw was in the WordPress core itself. Both were fixed on the day of disclosure. According to Triskele Labs, attacks on wp2shell were confirmed a few days after publication. That is an argument for automatic updates and against waiting.
PHP2Shell: the flaw was not in WordPress
PHP2Shell affects the PHP runtime and therefore every PHP application, including Drupal, Joomla, TYPO3, Magento and Nextcloud. In its notice of 21 October, WordPress stated that the flaws are not specific to WordPress and that no WordPress update is required. What mattered was the PHP update on the server. According to digitec (in German), updating the CMS is not enough, and PHP patches had to be installed manually on the server.
Where the criticism of WordPress is justified
The criticism is not unfounded. Two critical core flaws in three months are no footnote. The data points to three things worth taking seriously:
- Plugins: According to Patchstack, 11,334 new vulnerabilities were counted in the WordPress ecosystem in 2025, which is 42% more than the year before. 91% were in plugins, 9% in themes, and 6 in the core.
- Speed of attacks: Patchstack gives a median time of five hours to the first mass exploitation. 46% of the flaws were not yet fixed at the time of disclosure.
- Outdated PHP: According to The Repository, 35.1% of WordPress websites ran PHP versions without security updates before PHP2Shell.
Where the criticism falls short: technically, WordPress is a CMS rather than a framework, and it does not stand alone. The same PHP flaw affected every PHP system. No way of building a website is immune to vulnerabilities. It only shifts who has to fix them.
WordPress or AI website: the comparison
There are two kinds of “AI website”. One is a static site that Claude or a similar tool produces as code. The other is built on platforms such as Lovable or Replit, which also supply a backend. The example of innFactory shows that a first draft of an entire company website with Claude is possible in two days. The question is what comes afterwards.
| Criterion | WordPress | AI-built website |
|---|---|---|
| Attack surface | Core, plugins, themes, PHP and database are publicly reachable, and there were three critical incidents in 2026 | A static site without server code is smaller. For sites with a backend, the studies on AI code apply, see below |
| Updates and maintenance | Core, plugins and PHP need care, and a host or partner can take this on | Nobody supplies patches, and you or your partner have to keep packages up to date |
| Maintaining content | Editor for people without programming skills, roles and approvals | Changes go through code or new prompts, and every text change quickly becomes a mini project |
| Ownership and portability | Open source, can be run with many hosts | The code belongs to you, but with platforms such as Lovable or Replit the site mostly runs on their servers |
| SEO and AI visibility | SEO plugins, redirects and structured data are available | Possible, but meta data, redirects and a sitemap have to be built deliberately |
| Time to first draft | Days to weeks | Hours to days |
The table is an assessment by Lean & Sharp. It draws on the sources mentioned.
What studies say about AI-generated code
According to WPRiders, Veracode’s 2025 GenAI Code Security Report found known vulnerabilities in 45% of the AI code samples it tested. In an analysis, the Cloud Security Alliance notes that the Georgia Tech Vibe Security Radar confirmed 74 CVEs traced to AI tools by March 2026. In addition, around 19.7% of the dependencies suggested by AI in Python and JavaScript do not exist at all, which opens a door for attackers. These studies measure AI code in general and not simple websites specifically. A small static site is much less affected than an application with a login or a database.
Where an AI website can be enough
- A small business-card website with a few pages that rarely changes.
- Someone on the team can review code and look after the dependencies.
- You need neither multilingual content nor forms, a shop or editorial workflows.
Where WordPress remains the better choice
- Several people maintain content without being able to program.
- You need multilingual content, forms, a shop or proven extensions.
- You want a partner to be responsible for updates and hosting.
- You do not want to tie your code and data to a platform.
AI and WordPress are not mutually exclusive. AI can also speed up work on themes, plugins, and content. In both cases, the code needs a review before it goes live.
From practice: what we have seen at lean-sharp.ch
Our own website runs on WordPress. On 25 October 2026, we asked 27 fully phrased queries in ChatGPT, Claude, Gemini and Perplexity. Claude and Gemini displayed lean-sharp.ch as a source, Claude for 2 of 6 and Gemini for 3 of 6 queries. So the system a site runs on did not prevent it from being cited in our test.
This is an indication, not proof. The sample is small, and part of the queries come from our own Search Console. In our assessment, what matters most is whether a page answers the question clearly, and less what it was built with.
What to check now
The table summarises our assessment and is not a measurement series.
| Check | Why it matters | How you can tell |
|---|---|---|
| PHP version | The PHP2Shell flaw sits in PHP, and a WordPress update does not fix it | Under Tools, Site Health, Info, Server you can see the PHP version, or your host confirms the PHP security release of 21 October 2026 |
| WordPress version | The core had two critical flaws in 2026 | Version 7.1.2 or newer, and automatic updates are active |
| Plugins | 91 per cent of the flaws are in plugins | Only plugins that you use and that are still maintained |
| Host and maintenance | Someone has to be responsible for PHP and updates | Responsibility is set out in writing in the contract or the offer |
| Backups and measurement | After an incident you need a clean state, and tracking shows what the site delivers | Regular backups with a tested restore, and events for enquiries are set up |
According to the BSI guidance, the PHP advice applies to every installation that processes web requests. On shared and managed hosting, the host usually applies the update, whereas on your own server you have to update PHP and restart it yourself. PHP 8.2 receives security updates until 31 December 2026, after which a newer version is needed.
Conclusion
The security incidents of 2026 do not show that WordPress is finished. They show that every website needs someone who is responsible for updates, and that a website without a maintenance plan is a risk on any system. An AI-built website can be a sensible route for small, rarely changed sites. It does not take the maintenance off your hands, though.
So do not first ask which tool your site is built with. Ask who will look after it in two years, who changes the content, and who reacts on the same day to the next flaw.
How well is your current website prepared for the next vulnerability?
In a free, non-binding conversation, as short as a cup of coffee, we look together at the PHP version, plugins and responsibilities of your website.
Share this article:
Share this article:
Are you dissatisfied with the results of your digital campaigns for search engine optimization (SEO), paid advertising, content marketing, or gamification? Let’s start with a short call for a free and non-binding exchange about growth hacking and digital marketing.
Dr. Gero Kühne
Owner
FAQs
No. The flaws were in PHP and not in WordPress, and they affected every PHP application. WordPress.org published no update for them, and what was needed was the PHP update on the server. Separately, there were two critical flaws in the WordPress core in 2026, and both have been fixed.
In the WordPress menu, look under Tools, Site Health, Info, Server for the PHP version, or ask your host whether the security release of 21 October 2026 has been applied. On shared and managed hosting, the host usually takes care of this.
Not automatically. A static site without server code has a smaller attack surface. According to studies, however, AI-generated code with a backend often contains vulnerabilities, and nobody supplies updates. For small sites it can be enough, but with forms, a login or a shop you need to be careful.
Yes, AI can speed up themes, plugins and content. The code still needs a review before it runs on the live website.
We build websites with WordPress and Shopify and think about structure, measurement and growth from the start. We use AI ourselves every day, for example in SEO analysis, and we say openly where it is enough and where it is not.



