Category: WordPress

  • WordPress Fell to 38.3% of the Web. What That Number Means for Your Site

    WordPress Fell to 38.3% of the Web. What That Number Means for Your Site

    WordPress runs 38.3% of the websites in W3Techs’ survey as of late November 2026, down from 43.2% a year earlier. That is the fastest monthly drop the survey has recorded this year, and it still does not mean your site is on a sinking ship. The number tells you what other people choose. Whether your own install is healthy is a different question, and it is the one that costs money when you get it wrong.

    The short version

    • 38.3% counts websites, not traffic, users or revenue. W3Techs surveys well over 20 million sites and drops domains that only redirect.
    • Most of the lost share went to the “none” bucket: sites running none of the CMSs the survey tracks. That group went from 28.6% to 33.1%. Shopify was the only large platform that gained, 4.9% to 5.5%; Wix and Squarespace were flat.
    • A share can fall while the number of WordPress sites rises. Only following the same domains over time proves a migration.
    • Your site’s health is four things: current core and plugins, a supported PHP version, a backup you have actually restored, and a page that loads quickly.

    What the 38.3% actually counts

    W3Techs publishes two numbers for WordPress, and people quote the scarier one. The 38.3% uses every site in the survey as the denominator. The 57.2% uses only sites where W3Techs could identify a CMS. Same WordPress installs, different denominator. If you are comparing WordPress with Wix or Shopify, the second number is the honest one.

    The survey has rules worth knowing. It covers well over 20 million sites with real content or functionality, groups subdomains with their parent site, and drops domains that only redirect. It records a technology per site, at the site level. None of that measures people, traffic or sales.

    The biggest mover is not a rival CMS. The “none” row rose from 28.6% of surveyed sites in November 2025 to 33.1% a year later. That row is not evidence those sites have no CMS. A headless WordPress install can hide its fingerprints, and a site built by a tool the survey does not track lands there too. One new name did enter the table: Lovable, an AI website builder, at 0.6% of all websites, level with Drupal. Only 1.29% of Lovable sites were recently running WordPress, so the data does not support “AI builders are taking WordPress users” at any scale you would feel.

    The speed is the real news. Through the first half of 2026, WordPress lost less than half a point a month. Then 0.5 points in each of two months, 0.7 in October, and 1.2 between 1 and 29 November. That acceleration is worth watching. It is not yet a verdict.

    What one crawl saw when sites stopped being detected

    An independent crawler operator posted numbers on Reddit on 19 November: 70,603 domains where it stopped detecting self-hosted WordPress in October and November. Of those, 9,481 (13.4%) showed another platform, including 1,602 Lovable, 1,512 Shopify and 400 Wix. Another 33,973 stayed unclassified, and the rest included redirects, default server pages and parked domains.

    Read that carefully. A crawler that loses a fingerprint has found a change in the signal, not necessarily a migration. Caching plugins, security plugins that strip generator tags, and CDNs can all hide WordPress from a scanner. This is one crawl reported by its operator, not a census.

    The four checks that decide whether your install is fine

    Market share is a spectator sport. These are the things that actually break a site.

    1. Core and plugins. WordPress 7.1.5 is the current security release, and 7.2 is scheduled for 8 December 2026. Release candidates have been out since 17 November and features froze at RC1, so what you read about 7.2 now is close to final. It also turns on /random/ by default; if you run a redirect plugin, decide before the update lands.
    2. PHP version. PHP 8.2’s security support ends on 31 December 2026. Check Tools → Site Health → Info → Server, and if it says 8.2, ask your host what they plan and when. My upgrade path is in this checklist.
    3. A backup you have restored. An untested backup is a hope. Export the database, download the uploads, and restore both to a staging copy once. It takes an afternoon the first time and twenty minutes after that. The routine is here.
    4. Page speed, measured. Not a PageSpeed score — the server’s time to first byte from somewhere your visitors actually are, week over week. If it has doubled since summer, something changed, and it is usually a plugin or a PHP version.

    When moving off WordPress is the right call

    I am not going to pretend WordPress is right for everything. Three cases where I would move a site:

    • The site is five pages and a contact form. A static build or a hosted builder removes the maintenance job completely. Nothing to patch, and nothing to reach through a plugin.
    • Nobody will ever maintain it. If the owner will not log in, will not update, and will not pay someone to do it, an unpatched install is a liability with a domain attached.
    • The content is not the asset. If the site exists to hold a booking form or a menu, WordPress’s strengths are weight you carry for nothing.

    Moving costs are real and predictable. Budget a redirect for every URL with traffic, a rebuild of pages that use blocks from a plugin you are leaving, a retest of every form, and three months of watching Search Console. Email is separate: MX records stay with the domain, not the website.

    What you own Where it lives What moving it takes
    URLs and rankings Permalinks and internal links A 301 map for every URL that has traffic
    Page content Post editor and blocks Rebuild pages that depend on plugin blocks
    Forms and integrations Plugins Re-implement, re-test delivery, re-check spam
    Backups and restores Host plus plugin A new tool, and a new restore test

    When staying is the right call

    The reverse list is shorter and stronger. Stay if your archive is the asset and you will not risk hundreds of URLs to save a plugin update. Stay if other people publish on the site and the block editor is the workflow they know. Stay if a plugin does something you cannot replace cheaply. Stay if maintenance is already handled and the cost is small next to a rebuild. WordPress still runs more than half of the sites where a CMS can be identified. It is not going anywhere this year, and neither is the upkeep.

    A twenty-minute check you can run today

    If your host gives you WP-CLI, this prints the whole picture in one pass:

    wp core version
    wp core check-update
    wp plugin list --update=available
    wp theme list --update=available
    wp --info
    wp db export backup-$(date +%F).sql

    The first line tells you what you are running. The second and third tell you what the dashboard has been nagging about. wp --info prints the PHP version WordPress is actually executing on, which is not always the one your host’s marketing page mentions. The last line writes a database dump to the current directory, so move it off the server.

    No WP-CLI? Dashboard → Updates answers the first three questions, and Tools → Site Health shows the PHP version.

    Run the check. If the list of pending updates is longer than the page you are willing to read, that is your signal — and it has nothing to do with 38.3%.

  • AI Found a WordPress Bug in Six Hours. What That Changes About Trusting a Plugin

    AI Found a WordPress Bug in Six Hours. What That Changes About Trusting a Plugin

    A reporter who had never hunted a vulnerability before found a real one in a WordPress plugin with more than 40,000 active installs. It took six hours and two free AI models. The bug was a cross-site request forgery in a file editor — ordinary, serious, and now cheap to find. That last part is what should change how you choose plugins: “nobody has found a problem with it” is no longer evidence that a plugin is safe. It is evidence that nobody has looked recently with tools that cost nothing.

    The short version

    • Discovery cost collapsed: six hours, two free models, one validated CVE (CVE-2026-124251).
    • Volume follows: Wordfence logged 388 vulnerabilities across 288 plugins and 29 themes in one week.
    • Exploitation speed follows too: WP Rocket’s RCE was patched on 19 November and first attacked on the 25th.
    • Maintenance is a security signal, but “last updated” alone is not enough. Who can push a release matters as much as when the last one shipped.
    • Before installing, run a 15-minute review: one job, recent release, readable changelog, and an AI pass over the request handlers — with every claim checked in the code.

    What happened this week

    Three stories, one direction.

    Discovery. Greg Otto’s CyberScoop diary walks through it: two free language models, a hypothesis, a manual test, a report. Patchstack validated it within 24 hours as CVE-2026-124251; the maintainer patched and thanked him. No security team, no budget.

    Supply chain. On 22 November a compromised WordPress.org account pushed backdoored releases of six WP Connect plugins — CVE-2026-135202, CVSS 9.8 — toward more than 3,600 sites before the release hold stopped distribution. I wrote about that one here. The lesson is not that plugins are bad; it is that a plugin’s reputation is only as strong as one account’s password.

    Exploitation. WP Rocket’s unauthenticated remote code execution bug, CVE-2026-125812, was fixed in 3.24.2 on 19 November. The first exploit attempt came on the 25th and mass scanning the next day. Six days — and that is premium software with a manual update path.

    Why discovery got cheap

    Plugin vulnerabilities are not new; WordPress has always had a long tail of abandoned code. What changed is the cost of looking. Reading unfamiliar PHP used to be the expensive part. An AI model now summarizes request handlers in seconds and points at the missing check. Verification is still human work, but it takes minutes when discovery used to take days.

    The same saving applies to attackers. Advisories name the plugin, the affected versions, and often the vulnerable parameter; turning that into a scan is scripted work. If your update habit runs on a monthly reminder, you are not behind the disclosure — you are behind the attack.

    Context for the volume: Wordfence counted 388 vulnerabilities for 9–15 November, but 66 were unpatched at publication and only 21 were critical. Most will never touch you. The one that matters is in a plugin you run, at a version you have, in a configuration that is reachable — a much smaller set, and one you can check in fifteen minutes.

    What this does not mean

    It does not mean every plugin is unsafe, or that an AI hands you a working exploit. Most published issues are medium severity, need an authenticated account, or depend on a setting most sites never enable. It also does not mean a security plugin solves it: a firewall sits in front of vulnerable code, and only removing code removes the risk. And AI review produces false positives — treat its output as leads, not findings.

    What “maintained” means now

    “Last updated three weeks ago” is the metric everyone quotes, and it is the easiest one to fake with a version bump. Before installing a plugin, I want four things:

    • A changelog that names security fixes. “Minor bug fixes and improvements” tells you nothing. “Fixed missing capability check in the export handler” tells you the maintainer reviews their own code.
    • One job. A plugin that bundles a slider, popup, form and font loader is a stack with one update button. Every feature is another request handler.
    • A realistic release history. Regular small releases beat one big annual one. A plugin with no release in two years is not automatically dangerous, but nobody is looking for its bugs either.
    • Who can push a release. The WP Connect backdoor came through one stolen account. WordPress.org’s release hold caught it; a premium plugin sold on its own site has no such gate. That is a reason to prefer the repository when the plugin is otherwise equal.
    Signal What it probably means What I do
    Security fix named in the changelog The maintainer reads their own code Good sign. Keep it updated.
    Only “compatibility updates” for 18 months Nobody is maintaining it Find an alternative before it breaks
    One maintainer, no security contact One password away from a backdoor Prefer the repository; remove if small
    Five jobs in one plugin Five times the request handlers Split it or replace it
    Premium, manual updates Your patch delay is your exposure Calendar reminder plus host patching

    Then check the update path. Repository plugins can auto-update; premium plugins usually wait for a human. If the plugin is premium and security-critical, put its updates on a calendar, not on a hope.

    The AI review I actually run

    I am not a security researcher, and this does not make me one. But a fifteen-minute AI pass over a plugin’s request handlers catches the obvious classes of bug before the plugin touches a site.

    Download the plugin zip, unpack it, and open the main file plus anything in includes/ or inc/. Paste the request-handling code — the add_action('wp_ajax_…') lines, the register_rest_route calls, and the functions they point to — into a model with this brief:

    You are reviewing a WordPress plugin for a small site owner, not writing an exploit.
    For each AJAX action and REST route below, answer:
    1. What does it do, and who can trigger it?
    2. Does it check a nonce, and does it check a capability?
    3. Does user input reach SQL, a file path, eval, or an HTTP request without sanitizing?
    4. What is the worst outcome if the check is missing?
    Quote the function names you base each answer on.
    Say "not enough context" when the code shown does not prove it.

    Then open every file it names and check the claim yourself. The functions to search for are boring: current_user_can, check_ajax_referer, wp_verify_nonce, $wpdb->prepare, sanitize_*, esc_*. If a handler has none of the first three, treat that as a question, not a verdict. Some handlers are read-only and harmless; some are not, and the difference is usually one line of context.

    Where the model fails: it cannot see your configuration, it invents line numbers, it misses logic that spans three files, and it will confidently call a safe function unsafe. Never run the plugin’s code to “test” a finding on a live site. The value is in the list of places to look, not in the model’s conclusion.

    The decision rule

    Install only if all four are true: one clear job, a release in the last year, a changelog that names security fixes, and an update path you will actually use. If one is missing, look for a smaller alternative. If two are missing, the thirty lines you would write yourself are probably safer than the plugin.

    Discovery is cheap now, in both directions. You cannot control how fast someone finds the next bug in a plugin you use. You can control how many plugins you trust, how much evidence you demand before trusting them, and how fast you patch when the answer changes.

    Adjacent routines, if you want them: the twenty-minute plugin audit and how to read a vulnerability disclosure without panic.

  • WordPress Blocked a Backdoor in Six Plugins. The 20-Minute Plugin Audit Still Matters

    WordPress Blocked a Backdoor in Six Plugins. The 20-Minute Plugin Audit Still Matters

    On 22 November 2026, someone used a plugin developer’s own WordPress.org account to push backdoored releases of six plugins installed on more than 3,600 sites. WordPress.org’s release hold stopped every one before a single site updated. That is good news, and it is also the reason to spend twenty minutes this week knowing which plugins your site runs and who publishes them.

    This was not a coding mistake that got patched. It was malicious code committed on purpose, so there is no version to upgrade to and no advisory to close the tab on.

    The short version

    • Six plugins from the developer WP connect were backdoored in a one-hour window: Air WP Sync, WP Sync for Notion, Add-on Brevo for Gravity Forms, two Contact Form 7 add-ons, and Orders Sync to Airtable.
    • Nothing shipped. The cooling-off period held the releases back, and an automated reviewer called Gandalf flagged the code on its own and halted them indefinitely.
    • There is no patch. All six plugins were closed on WordPress.org the same evening, permanently, and the affected versions are tracked as CVE-2026-135202 at CVSS 9.8.
    • The weak point was the developer’s account, not the plugin logic. That is the part of the chain you can actually do something about.
    • Your task is not to understand the exploit, but to know your plugin list well enough to answer “am I running that?” in under a minute.

    What the code actually did

    Each release added one file, includes/airwp-online.php, plus a single require_once line in the plugin’s main file to load it. The header calls it an “Online module (Analytics & Auto-Update)” that pulls hot-fixes so updates “can reach every install without a full plugin release.” That is the cover story: delivering code outside the release process is exactly what the plugin guidelines prohibit.

    It hooked init, which fires on every request including logged-out page views, with a half-hourly WP-Cron fallback. No login. No capability check. No nonce. It posted the site URL, PHP, WordPress and OS versions, and the server user to a hard-coded server at tascredit-pay.com — a domain with no connection to the vendor — with TLS verification off, so the response could be tampered with on the network.

    Whatever PHP came back ran through eval() with the full privileges of WordPress. The server could also queue commands: run shell commands, read, write or delete arbitrary files, dump any database table, export every user with their password hash, drop a standalone webshell into uploads, and register an hourly cron job that executes attacker code independently of the check-in loop.

    A site running one of those versions would have handed complete control of the server to whoever operated that domain. Removal alone would not have been enough: the webshell and cron hook were built to survive it.

    Why it never reached your site

    WordPress.org launched Protect The Shire in June 2026, and one of its first changes was a cooling-off period: each new release waits before automatic updates distribute it, giving reviewers time to inspect the diff. The window was up to 24 hours at launch and is shorter now.

    The backdoored releases were committed between roughly 4:30 and 5:40 PM US Eastern. Air WP Sync alone got four releases in about half an hour. The delay held the versions back from auto-updates, and separately Gandalf, the automated reviewer introduced with Protect The Shire, detected the malicious code by itself and halted the releases. The Plugins Team described the attack as stopped at more than one level, and Wordfence’s PRISM flagged the same file in two plugins within a minute of each other.

    Notice where that defence lived. The attacker had the developer’s credentials, so nothing inside the plugin’s repository could be trusted. The gate that worked sat outside it, between the commit and the update — the only place a supply-chain attack can be caught once the account is gone.

    The 20-minute inventory

    With WP-CLI, this prints every active plugin, its version and its auto-update setting:

    wp plugin list --status=active --fields=name,version,update_version,auto_update
    
    # the backdoor lived at this exact path in every affected plugin
    ls -l wp-content/plugins/*/includes/airwp-online.php

    The second command prints nothing on a clean site. If it prints a file, stop reading and go to the next section. No WP-CLI? The Plugins screen shows the same versions, just slower.

    Here is the list to check against. Any match means the backdoored release, not a vulnerable one.

    Plugin Backdoored version
    Air WP Sync – Airtable to WordPress 2.9.1 – 2.9.4
    WP Sync for Notion – Notion to WordPress 1.7.4
    Add-on Brevo for Gravity Forms 2.6.3
    Add-On for Contact Form 7 to Airtable 2.5.4
    Add-On for Contact Form 7 to Notion 1.6.4
    Orders Sync to Airtable for WooCommerce 1.0.2

    The release immediately before each of these is clean, so Air WP Sync 2.9.0 or WP Sync for Notion 1.7.3 was never exposed — but you will not get another update, because the plugins are closed. Plan to replace them.

    If you find a match

    Remove the plugin rather than deactivating it, then treat the site as compromised. The command set was built to leave a second foothold, so the checks matter more than the deletion:

    • Change every administrator password and regenerate the WordPress salts in wp-config.php, which invalidates existing sessions.
    • Look for .php files in wp-content/uploads. That directory should never contain executable code, and the webshell command wrote one there.
    • Check wp_options for rows beginning airwp_, and check the cron array for an unfamiliar hourly hook.
    • Run a full malware scan. Wordfence said its signatures for this backdoor were still in development at publication, so a clean scan today is not proof.
    • Restore from a backup taken before the bad version landed — the drill in the backup guide.

    What this changes about auto-updates

    Auto-update is how a backdoor like this would have arrived, and also how you get a security fix at 2am. The release hold shifts the balance for plugins hosted on WordPress.org: there is now a gate between a compromised developer account and your site.

    That gate does not exist for plugins that update from a vendor’s own server — most premium plugins, anything with a licence-key updater, anything from a zip you were emailed. Those go straight from the developer’s account to your site. My rule, after this week:

    • Plugins from WordPress.org: auto-update on is defensible, because the cooling-off window applies.
    • Plugins updating from a vendor server: manual updates, and only from vendors I could name and find again.
    • Plugins with no update in a year, or closed on WordPress.org: delete them. An abandoned plugin is a permanent unpatched hole with a familiar name.

    Reading the next advisory without panicking is a separate method. This one is different in kind: there was no disclosure until after the fact, because the flaw was inserted, not found.

    The pattern worth noticing

    All six plugins are sync tools — the quiet glue between Airtable, Notion, Brevo and a form or a store. They get installed once, handed API keys to other systems, given database access, then forgotten. That is the highest-privilege, lowest-attention category on most small sites, and where a single compromised account had the most reach.

    Automattic’s security team has said the same in public: vulnerability reports went from a few dozen a month to several hundred, and this year’s total already eclipses the previous twelve combined. Four security releases in 41 days is the new normal. You cannot review that volume yourself, but you can shrink the surface it applies to.

    This week, not someday

    • Run the inventory and confirm none of the six versions is present.
    • Delete every plugin you cannot explain in one sentence. Inactive plugins still execute nothing, but they are still code you will forget to update.
    • For each plugin you keep, write down who publishes it. “Some developer on the .org directory” is an acceptable risk only if you know it.
    • Add a reminder before 8 December, when WordPress 7.2 lands.

    The backdoor did not reach your site because a gate outside the developer’s control held. That is a good week, not a permanent condition. The plugin list is the part you own, and twenty minutes is enough to make it smaller.

  • WordPress 7.2 Turns On /random/ by Default. Decide Before 8 December

    WordPress 7.2 Turns On /random/ by Default. Decide Before 8 December

    WordPress 7.2 ships on 8 December, and it adds a public address most site owners never asked for: /random/. Visit it and WordPress sends the visitor to a randomly selected published post with a 302 redirect. The feature is on by default, and there is no checkbox anywhere in the dashboard to turn it off.

    On a normal blog that is harmless, even pleasant. On a small business site it can surface content you built for layout rather than reading. On any site behind a page cache it can return a 404 for a while after the update. Turning it off takes one small file, but only if you decide before the release lands.

    The short version

    • /random/ redirects to a random post. So do /random/category/{slug}/, /random/tag/{slug}/, /random/author/{slug}/ and /random/{post-type}/.
    • Posts are eligible. Pages and attachments are not.
    • A custom post type is eligible when it is publicly queryable and has an archive, unless it was registered with 'randomable' => false. A shop archive makes WooCommerce products eligible.
    • The redirect is a 302 with X-Robots-Tag: noindex, follow and no-cache headers, so the redirect address itself should stay out of search results.
    • There is no settings toggle. The only supported off switch is a filter called wp_enable_random_content_redirect.

    What the endpoint actually does

    The implementation is small. WordPress registers a rewrite rule, runs the main query for whatever archive you asked for, swaps the sort for ORDER BY RAND(), limits the result to one row, and redirects to that permalink. If the query matches nothing — an empty category, a misspelled tag — you get a 404.

    The base is not fixed. A new field on Settings → Permalinks lets you rename random, and the code also answers a ?random query variable on the home page and archives — handy for testing without touching rewrite rules.

    Two edge cases: if you already publish a page with the slug random, that page wins and the feature does nothing; and a search URL carrying the parameter now redirects to the same search without it.

    Where it can bite a small site

    Custom post types built for layout. Testimonials, client logos, staff bios and case studies are often registered as public post types with an archive because that is the easiest way to get a template and a query. Most owners then leave them out of the navigation. From 8 December, those entries become reachable through /random/testimonial/ and its variants, and an SEO plugin’s noindex setting on that post type does not make the endpoint forget it exists. The developer-note comments raised exactly this case.

    The cache after the upgrade. New rewrite rules have to be flushed before /random/ resolves. Core does that on the first wp-admin request after the upgrade, per site on multisite. On a host with a page cache or CDN, a cached 404 can outlive the flush until you purge. The hosting team’s own note says to purge the page cache after that first admin visit. Skip those two steps and you will spend an evening debugging a feature you did not want.

    A ten-minute check you can run today

    Put 7.2 on a staging copy, or run these three checks the morning you update.

    1. Request /random/ and read the response headers. You want a 302, x-robots-tag: noindex, follow, and no-cache headers. A 404 means rewrite rules have not been flushed or a cached 404 is still being served.
    2. Request one archive version, for example /random/category/news/, and confirm it lands on a post inside that category.
    3. List the post types that qualify. This snippet prints every publicly queryable type with an archive; run it with wp eval-file types.php on staging.
    <?php
    foreach ( get_post_types( array( 'publicly_queryable' => true ), 'objects' ) as $type ) {
        if ( ! empty( $type->has_archive ) ) {
            echo $type->name . PHP_EOL;
        }
    }

    Compare that list against what you want a stranger to land on. If it includes product, you have a decision about the shop; if a testimonial or staff type appears, a decision about that too.

    Turning it off properly

    The off switch is a filter, and the safest place for it is an mu-plugin, which loads before regular plugins and cannot be deactivated by accident. Create wp-content/mu-plugins/disable-random-redirect.php — the folder may not exist yet — and put this inside:

    <?php
    /*
    Plugin Name: Disable Random Redirect
    Description: Turns off the WordPress 7.2 random content redirects.
    */
    add_filter( 'wp_enable_random_content_redirect', '__return_false' );

    Then flush rewrite rules once. Open Settings → Permalinks and click Save Changes, or run wp rewrite flush. The filter hides the base field on the Permalinks screen, stops the rewrite rules from being generated, and makes WordPress ignore the query variable.

    One trap: the WordPress Developer Blog’s November roundup prints the filter as wp_enable_random_content_direct, missing the “re”. That name appears nowhere in the code, so copying it from the roundup produces a file that does nothing and no error either. Use the spelling from the developer note: wp_enable_random_content_redirect.

    If you would rather not touch code, a small plugin called Disable Random Content does the same thing through that filter and refreshes rewrite rules on activation, including on multisite.

    Keeping it, but narrowing it

    If you own the register_post_type() call for a testimonial or portfolio type, add 'randomable' => false to its arguments and that type drops out while posts stay random. If the type comes from a plugin you do not maintain, you cannot add that argument from your theme — in that case the whole-site switch is the honest choice, or check whether the plugin has shipped its own setting by December.

    Changing the base is the other middle path: /shuffle/ is less likely to collide with an existing page or be probed by a bot that guesses common paths.

    The decision, in one table

    Check Good result What to do instead
    /random/ header 302 plus noindex header Visit wp-admin once, then purge cache
    Public post types Only post and product Add 'randomable' => false or disable the feature
    Page slug random No such page Decide which one you want to keep
    Filter name wp_enable_random_content_redirect Do not copy the roundup spelling
    Cache and CDN Purged after the first admin visit Purge again and retest the header

    What it means for search and speed

    The SEO worry is smaller than it sounds, as long as the headers behave. The redirect response is marked noindex, and the destination is a normal post URL that was already indexable, so you are not creating a second indexable copy of anything.

    The speed cost is more concrete. Every /random/ hit is a cache miss by design, because the response carries no-cache headers and runs a random-order query. On a ten-post blog that is nothing; on a store with thousands of products, a crawler that finds the endpoint can generate real database work. If you keep the feature, tell your host.

    On a handful of posts, /random/ costs nothing and gives visitors a discovery path you did not have to build. On a brochure site with five pages and one blog, it is noise. Neither answer is wrong; leaving it undecided is the only mistake.

    What I would do before 8 December

    Test 7.2 on a copy this week, run the three checks, and write the mu-plugin now. An unused mu-plugin on 7.1 does no harm and means the upgrade cannot surprise you. On release day, update during a quiet hour, load wp-admin once, purge the cache, and request /random/ to confirm the header. If you run a store, check whether products should be in the random pool before a customer finds them there first.

    This is a small change with a public URL — the kind that ages badly when nobody owns the decision. Ten minutes now, or a support thread on 9 December. The schedule is on the 7.2 development page.

    If you are still working through the core update itself, the sequence in how to update WordPress core without opening an attack window applies here too. And if the upgrade lands in the middle of the November core update, keep the two changes separate in your notes — the search-side picture is noisy enough without mixing in a rewrite change.

  • How to Read a Vulnerability Disclosure Without Panic

    How to Read a Vulnerability Disclosure Without Panic

    Most vulnerability notices do not apply to your site, and the ones that do tell you so in four lines. Read what is installed, what the attacker needs before they can start, and what they get if they succeed; the score is a summary of those lines, not a substitute for them. This week produced three clean examples — a WordPress security release, a page builder and a donation plugin — enough to learn the whole decision in one sitting.

    It takes ten minutes and the plugin screen you already have.

    The short version

    • Read the requirements before the score. “Unauthenticated” and “contributor-level” describe two different worlds. The first is anyone on the internet; the second is someone you gave a login to.
    • Check three things in order: installed, active, version in range. Most advisories die at the first check.
    • A core security release gets a same-night update. A plugin gets an update if you use it, and a delete if you do not.
    • A low score can be the first half of a high one. A 4.3 request forgery can exist to make an 8.1 takeover possible. They are one attack, not two stories.
    • Write down what you ignore on purpose. That list is what turns next week’s email into a two-minute read.

    The four lines that decide it

    Wordfence, the CVE record and NVD all carry the same facts, after the description. The score at the top is calculated from them, which is why it is the last thing worth reading.

    The line What it looks like What it means on a small site
    Affected and patched versions “All versions up to and including 9.1. Patched in 9.2.” Compare with the version column on Plugins → Installed Plugins. Already on 9.2? Stop reading.
    Privileges required Unauthenticated, Contributor+, Administrator Anyone on the internet; anyone holding a login you issued; someone who already has your keys.
    Vector and interaction AV:N, UI:N or UI:R UI:N can be automated against thousands of sites. UI:R needs one person to open a link and click.
    Impact Confidentiality low, integrity low, availability none Read data, change data, take the site offline. A leaked category name is not remote code execution.
    Chaining “Can be chained with CVE-2026-82675” The score covers one link. The real attack may use two, and the lower score is often the part that opens the door.

    Example one: WordPress 7.1.5, where “unauthenticated” means tonight

    WordPress 7.1.5, released on 18 November, is a security-only short-cycle release. Four entries matter more than the rest:

    • Unauthenticated privilege escalation through Template Part block attributes, which could lead to remote code execution.
    • Unauthenticated stored cross-site scripting through shortcode attributes in comments.
    • Unauthenticated disclosure of private taxonomy terms through the REST API search endpoint.
    • A denial of service through batched XML-RPC pingbacks.

    The first line is the one to act on: no login, no account, no click from you. The endpoint is in core and every unpatched site exposes it, which is what gets a bug attacked at scale.

    Core is also the easy case. One vendor, one update button, and fixes backported to older branches — 7.0.9, 6.9.12 and 4.7.40 all received patched builds, so “we are on an old version” is not a reason to stay unpatched. Take a backup, update, then load the front page and confirm it renders. The reason to pick a quiet hour is that a failed update costs an hour of visitors, not that you should wait a week. I wrote about that trade-off in this piece on update windows: patch first, tidy afterwards.

    WordPress 7.2 follows on 8 December. Until then, 7.1.5 is the version to be on.

    Example two: WPBakery 9.1, where 6.4 is a question about who has a login

    CVE-2026-122223 is a stored cross-site scripting bug in WPBakery Page Builder, all versions up to and including 9.1, published on 20 November with a CVSS of 6.4. The interesting word is not “cross-site scripting”. It is “Contributor+”.

    The bug rides in the values[text_shadow_color] parameter, and the usual save-time filter does not stop it: the payload is stored as URL-encoded JSON inside a shortcode attribute, so there are no HTML tags for wp_kses_post to find before the page renders. “Sanitised on save” and “safe” are not the same sentence.

    On a one-author blog where the only accounts are yours, a contributor-level bug is close to theoretical: the attacker needs an account you created. On a site with guest posts, a membership plugin or an old contributor account nobody remembers, it is a real path — anyone with that role can plant a script that runs for every visitor.

    The patch is in 9.2, released on 16 November, four days before the advisory. If you run the plugin, update. If you do not run WPBakery, close the tab. And if you do run it with contributor accounts you cannot name, the accounts are the more urgent problem.

    Example three: GiveWP, where a 4.3 is the setup for an 8.1

    Two GiveWP disclosures landed on 20 November, and reading them separately is the mistake they are designed to teach.

    CVE-2026-82676 is a cross-site request forgery, CVSS 4.3, in versions up to 4.16.7.2. A missing nonce check in the donor-view function means an unauthenticated attacker can relink a donor record to any WordPress user, provided they can get an administrator to click a link. Patched in 4.16.8.

    CVE-2026-82675 is the payoff: CVSS 8.1, unauthenticated donor account takeover in versions up to 4.17.0. The donation receipt runs an attacker-supplied first name through two template engines, which can expose the donor’s email-access token; the donor dashboard’s password endpoint accepts that token on its own and resets the password of the linked WordPress account. Patched in 4.18.0.

    On its own, the takeover needs an account already linked to the target donor record. The 4.3 CSRF is how an attacker creates that link, for an administrator. The two scores describe one route: an admin click, a password reset, then the site.

    Both patches shipped before the advisories were published. Publication date is not the date you became vulnerable: a site already updated was never in the window, and a site on 4.16 had been in it for months.

    The ten-minute triage

    If you have WP-CLI, these three commands answer most of the question before you open a browser:

    wp core version
    wp plugin list --fields=name,status,version,update --format=table
    wp plugin list --status=inactive --field=name

    No WP-CLI on shared hosting is normal. Plugins → Installed Plugins shows the same versions, and the update count at the top of the dashboard tells you whether you are already behind. Then take the four questions in order:

    1. Is the component installed and active? If not, note it and stop. An inactive plugin whose files remain on the server can still be attacked, so delete it rather than leaving it dormant.
    2. Is your version inside the affected range? This is where most advisories end.
    3. What does the attacker need first? Internet only: act tonight. A login: count who holds that role today. An admin click: patch, because you cannot promise nobody will ever click.
    4. Is there a patched version? Yes: update. No: disable or remove it, and decide later whether it comes back.

    Keep one line per advisory in a notes file: date, component, version, decision. Mine reads “23 Nov — WPBakery 9.1 — not installed — ignore”, and that line stays useful for a year.

    What I skip on purpose

    I do not read advisories for plugins I do not run, and I do not treat a scanner’s severity label as a decision; forty critical findings means it cannot rank them. What I do not skip is the abandoned plugin: no patch, no maintainer, no updates in two years is a permanent open door, and the fix is deletion, not monitoring. If you suspect you were already hit, the five-minute infection check comes first.

    Do this today

    Three things, in this order. Update core to 7.1.5 if you have not. Update WPBakery to 9.2 and GiveWP to 4.18.0 if either is on your plugin list. Then write the ignore list — every advisory this week that did not apply, with the reason. The goal is not to read every disclosure, but to close most of them in under a minute so the one that matters gets your full attention.

  • Contact Form 7’s Upload Bug Goes Public Today. Check Your Version First

    Contact Form 7’s Upload Bug Goes Public Today. Check Your Version First

    If your site runs Contact Form 7, open the Plugins screen and read the version number before you do anything else today. Anything from 6.2 to 6.2.3 lets an unauthenticated visitor leave a file on your server, and a demonstration of how to do it is due to be published today, 19 November. Version 6.2.4 closed that hole on 29 October. Version 6.2.5, released on Tuesday, closed two smaller leaks on top of it. That is the whole decision: you are on 6.2.5, or you have an hour of work this morning.

    The short version

    • Affected versions: 6.2 through 6.2.3. Fixed in 6.2.4. Best available now: 6.2.5.
    • The bug needs no account and no login. Any visitor who can reach a form with a file upload field can use it.
    • On a stock Debian or Ubuntu Apache server, that file can be found and run as code. On nginx and on most managed hosts it is “only” an arbitrary file inside wp-content/uploads, which still means an HTML or SVG page served from your own domain.
    • 6.2.4 got stricter about file names. Any form that accepts uploads needs to be tested after you update.
    • If you cannot update within the hour, close directory listing and block PHP execution in the uploads folder today. That is a ten-line file, and it buys you time.

    What the bug actually does

    Two failures stack. The plugin does not check the type or extension of a file going through a form’s file field, and a flaw in its temporary-file cleanup means the upload is not removed when the submission finishes. Together, an unauthenticated request can park a file of its choosing on disk and leave it there.

    The specific trick that made it work is in the file name: an invalid UTF-8 sequence in the name slips past a check that expects a valid string, which is where the published title comes from. The researcher credited is Shinya Murakami, and the vulnerability is catalogued as CVE 2026-114432.

    None of this needs knowledge of your site, only a form with an upload field — which is what a quote form, an invoice form or a “send us your CV” form is.

    Where it stops being a plumbing problem

    A stray file in a folder sounds survivable. It stops being survivable when the server agrees to interpret it, and that depends on configuration you probably did not write.

    On a stock Debian or Ubuntu Apache setup, two defaults line up badly: the server lists directory contents, and it maps .phar to the PHP handler. An uploaded file with that extension can be browsed to by name and executed, which turns a form field into remote code execution on the account that runs your WordPress site.

    On nginx, and on Apache installs where .htaccess overrides are switched off, the same file cannot be executed. It is still served as active content from your own origin: an HTML or SVG page you did not publish, hosted under your name, passing every “is this our domain” check a visitor or mail filter might make. The gap between those outcomes is your host’s configuration, not your code.

    Check the version in one command

    With WP-CLI it is one line:

    wp plugin get contact-form-7 --fields=name,status,version
    
    # and, if you want to see everything else waiting for you
    wp plugin list --update=available

    Without WP-CLI: Plugins → Installed Plugins, find Contact Form 7, read the version under the name. If the number is 6.2, 6.2.1, 6.2.2 or 6.2.3, stop reading and update.

    If you cannot update today

    Create or edit wp-content/uploads/.htaccess and put this in it:

    Options -Indexes
    
    <FilesMatch "\.(php|phtml|phar|php[0-9])$">
      Require all denied
    </FilesMatch>

    That closes the two conditions that turn an upload into code execution on Apache: the folder no longer lists itself, and the server refuses to hand a PHP-family file to the interpreter. It does not fix the bug. Files can still land in the folder; they just cannot run.

    On nginx this file does nothing at all, because nginx does not read .htaccess. There you need a location block in the server config, which means a message to your host. Ask for two things in the same message: block execution of PHP files inside the uploads directory, and tell you which PHP branch you are on, because a critical PHP security release is being published today as well.

    Where you stand, in one table

    Your version What it means today What to do
    6.2.5 Current. Both leaks closed. Nothing today. If you jumped here from 6.2.3, retest your upload forms.
    6.2.4 Upload hole closed. Two smaller leaks open. Update to 6.2.5 today.
    6.2 – 6.2.3 Publicly attackable, with a walkthrough due today. Update now, then read the uploads folder for files you did not put there.
    No idea Exposure is unknown, which is worse than known. Read the number now, then harden uploads while you arrange the update.

    The two leaks in 6.2.5 nobody is talking about

    6.2.5 does not fix the upload bug; it fixes two smaller ones: mail tags and default values could reveal private post data or user details. If a form’s mail template references post data, or a default value resolves against something the visitor should not see, the response carries it out.

    That is quieter than an arbitrary upload and easy to skip because nothing is on fire. What makes it worth the update is how little it needs: no invalid UTF-8, no server configuration, no extension games. A form, a tag, a request.

    What I would do in the next hour

    1. Read the version. One command or one screen. Everything below depends on the answer.
    2. Back up and update to 6.2.5. A backup before a plugin update is a thirty-second habit that occasionally saves a weekend.
    3. Submit a test file through every form with an upload field. 6.2.4 made file names stricter, so a form that once accepted an odd name may now reject it, quietly. Test with a normal name and an odd one.
    4. List the uploads folder by date. Look at the newest files. Anything that is not an image or a PDF you recognise is worth opening in a text editor rather than a browser.
    5. Ask whether the folder lists itself. Browse to a known uploads subfolder. If you get a file list instead of a 403 or 404, your host is one of the configurations where an upload can become code execution.
    6. Put the .htaccess above in place even if you updated. It costs nothing, does not touch images, and decides whether the next upload bug is a nuisance or an incident.

    Two unrelated things land this week and get confused with each other. PHP 8.6.0 is released today, and the PHP team is publishing a security release in the same 30-minute window that touches every supported branch. That one is not about plugin versions; it is about which PHP branch your host runs, and I covered the decision and the checks separately, because the answer there is usually “wait” and the answer here is “today”.

    If the version turns out to be 6.2.3 and the site has been live for a month, updating is the start of the job, not the end. Unrecognised files in uploads, a new administrator account, an outgoing mail spike — that is a different checklist, and the five-minute infection check covers the order to look in. I would run it after the update, not before, so you are not reading a live attack while the door is still open.

    The pattern to remember: plugin security releases are announced, details go public weeks later, and the gap between those two dates is your only window. Updating core without opening an attack window is the same lesson from a different angle — the update is not the risk, the delay is.

    The action

    Open the Plugins screen. If Contact Form 7 says 6.2.5, close the tab and get on with your day. If it says anything lower, update it, then spend ten minutes on the uploads folder: what is in it, whether it lists itself, and whether your host will block a .phar from running there. Today is the day those questions stop being theoretical.

  • WordPress 7.2 Encrypts API Keys on 8 December. Where Yours Live Until Then

    WordPress 7.2 Encrypts API Keys on 8 December. Where Yours Live Until Then

    If your WordPress site uses a newsletter plugin, an AI writing tool, or anything that talks to an outside service, that service’s API key is almost certainly sitting in your database as plain text. WordPress has never had a place to put credentials, so every plugin that needed one wrote it into the options table like any other setting. WordPress 7.2, whose first release candidate landed on 17 November and which ships on 8 December, finally adds an encrypted Secrets API. It migrates nothing, and on most existing sites it is switched off until you add one constant to wp-config.php.

    The short version:

    • Plugin API keys today live in wp_options as plain text, so every database backup and every staging clone carries them.
    • 7.2 adds wp_set_secret(), wp_get_secret(), wp_delete_secret() and wp_retire_secret_version(), encrypted at rest with a key that comes from WP_SECRETS_KEY.
    • No WP_SECRETS_KEY, no API. Calls return secret_key_unavailable, and upgraded sites do not get a key automatically.
    • Core does not call the Secrets API yet, so 8 December breaks nothing. The breakage comes later, when the plugins you already use move their keys and your site has no key to encrypt them with.
    • Your work this month is small: find out which plugins hold keys, decide where the encryption key lives, and rotate anything that has been sitting in a backup for years.

    Where your keys are sitting right now

    Almost every settings page you have ever filled in on a WordPress site ends up as one row in wp_options. A plugin stores an array of its settings, and the API key is one string inside that array. There is no masking, no encryption, and no warning. If you have ever restored a site from a backup, sent a database dump to a developer, or cloned production to staging, those keys travelled with it.

    You can see the shape of it with WP-CLI. Run this on a staging copy, not on production during the day, and keep the output to yourself:

    wp db query "SELECT option_name, LENGTH(option_value) AS len
      FROM wp_options
      WHERE option_value REGEXP '(sk-|api[_-]?key|api[_-]?token|secret)'
      ORDER BY len DESC LIMIT 40;"

    That is a blunt search and it will miss keys stored under names that do not mention them, so treat the empty result as inconclusive. The reliable way is to list the plugins you pay for or connect, then open each one’s settings page in the admin and look for a field that holds a token: payment gateways, email providers, SEO tools, AI writing assistants, form-to-CRM connectors, backup services. Every one of those is a key in the database.

    Two more places worth checking: wp-config.php for keys someone hardcoded by hand, and any custom code in the theme that calls an API. Hardcoding in wp-config.php is not encryption either, but at least the file lives outside the database and does not travel with a dump.

    What 7.2 actually gives you

    The API is deliberately plain. A secret has a name in the form plugin-slug/secret-name, and you get it back as a WP_Secret object that stays masked until you call reveal(). Saving, reading and deleting look like this:

    $secret = wp_get_secret( 'my-plugin/api-key' );
    if ( is_wp_error( $secret ) ) {
        // The secret exists but cannot be read.
        return '';
    }
    $key = $secret ? $secret->reveal() : '';

    Three details matter more than the function names. First, secrets are encrypted at rest with a key kept in wp-config.php, not in the database, so a stolen dump is no longer a list of live credentials. Second, the API keeps a previous version of each secret, which makes rotation a two-step operation instead of an outage: write the new key, then retire the old one. Third, a host can swap the storage layer through a secrets.php drop-in, so a host that already runs a secrets manager can keep using it.

    There is no admin screen for secrets in 7.2. That is planned for later, so for now this is a developer-facing change. If you are not writing plugin code, the only part you control is the key.

    The missing key is the real story

    Beta 5 removed the salt fallback. Without WP_SECRETS_KEY the API is simply unavailable. And only the browser installer writes the constant: new sites created through the WordPress installer get one, while upgraded sites get nothing. Neither does a site whose wp-config.php was written by wp config create, a one-click installer or a provisioning script that copies the sample file and fills in only the eight salts. If the placeholder stays in place, the API rejects it.

    Core does not call the API in 7.2, and most plugin authors will wait a release or two before moving their keys, so an upgraded site without a key keeps working for now. What you have is a window: the months between now and the first plugin that moves its key are when you can fix this calmly instead of during a support ticket.

    Check both answers on a staging site:

    wp config has WP_SECRETS_KEY
    wp eval 'var_dump( wp_is_secrets_api_available() );'

    Who has to do what

    If you are Do this before 8 December
    A site owner List the plugins that hold tokens, rotate the important ones, and ask your host whether new sites get a key.
    A plugin author Test the API against RC1, handle secret_key_unavailable, and keep your own option as a fallback until you are sure the key exists.
    A host Write a key in every provisioning path, never regenerate it on a rebuild, and check that secrets do not land in the object cache.

    Rules for the key itself

    Treat WP_SECRETS_KEY like a salt with consequences. Generate it with openssl rand -base64 32, and be careful where the value comes from: a trailing newline from a file makes a different key, a copied salt is rejected, and the placeholder in the sample config is rejected too. Keep it in your password manager next to the database credentials, because if you lose it you lose the ability to decrypt every secret stored with it.

    One key per environment. A key shared across environments means a production database cloned to staging can still read its secrets, which defeats part of the point. A different key means the clone cannot read them at all, and Site Health will show two critical items until you fix it. Either way, decide on purpose rather than by accident. If you rotate the constant itself, put the old value in WP_SECRETS_KEY_PREVIOUS so existing secrets can still be read while you re-save them.

    This is the same class of work as a core update: boring, fifteen minutes, and much cheaper now than after an incident. If you already have a routine for updating WordPress core without opening an attack window, put the key check in the same runbook. If you let an AI agent touch your WordPress site, it matters twice as much, because an agent holding a database-level credential is holding every key in that database.

    What I am doing this week

    1. List every plugin on the site that asks for a token, and write down which ones I would have to fix by hand if the key stopped working.
    2. Run the options query on a staging copy and match the option names to that list.
    3. Rotate the keys that touch money and email first, while the old ones still work and I can compare behaviour.
    4. Ask the host whether a new site gets WP_SECRETS_KEY, and test the answer on a throwaway install rather than trusting the support page.
    5. Try the RC1 on staging with WP-CLI, then check Site Health on both a fresh install and an upgraded one, because they will not behave the same.

    The encryption only protects keys written after it is switched on. Nothing in 7.2 goes back and encrypts the strings already sitting in your options table, and no plugin can do that for you until it adopts the API. So the useful deadline is not 8 December. It is today, and the first command is the query above.

  • How to Update WordPress Core Without Opening an Attack Window

    How to Update WordPress Core Without Opening an Attack Window

    WordPress 7.1.4 is a security release, and the flaw it fixes is already being exploited in the wild. The uncomfortable part is that on an unpatched site, the update itself is the attack window: WordPress unpacks the new files into a folder inside your web root and finishes installing them while still running the old, vulnerable code. Two habits close that window — take a backup, and block web access to wp-content/upgrade before you click Update.

    The flaw is CVE-2026-119977, a time-of-check to time-of-use race in WordPress’s core upgrade process. It affects versions 4.7 through 7.1.3. WordPress shipped the fix on October 28, and CISA has since added the flaw to its known-exploited list after confirming attacks in the wild; Wordfence said it blocked 13,095 attempts against it in a single 24-hour stretch. This is not a theoretical hardening post.

    The short version

    • CVE-2026-119977 can give an unauthenticated attacker code execution during a core update. It is fixed in WordPress 7.1.4.
    • Versions 4.7 to 7.1.3 are affected, and the patch was backported to older branches, so check what you are actually running.
    • Blocking /wp-content/upgrade/ at the web server kills the attack without stopping the updater.
    • Order matters: back up, block, update, verify. Blocking after the update is too late for that update.
    • The plugin queue is bigger than the core queue — 549 plugin vulnerabilities were disclosed in a single week.

    What the flaw actually does

    When WordPress updates core with a full package, it downloads a complete copy of the new version and unpacks it into a temporary folder inside wp-content/upgrade/. That copy includes the installer. The folder lives under the web root, so the web server will happily serve files from it.

    The temporary folder used to have a name an attacker could predict or find. So the sequence is: you start the update, WordPress writes the new files into a reachable folder, and an attacker who is polling for that folder loads the installer and completes an install before WordPress deletes the copy. That is code execution with no account and no password. The 7.1.4 fix gives the temporary folder a random name, so there is nothing left to guess.

    Worth being honest about the shape of the risk: it is a narrow window and a high-complexity attack. It is not a drive-by. But narrow windows are exactly what automated scanners are built to hit, and “high complexity” stops meaning much when the scanning is free.

    Who is actually exposed

    • Sites on 4.7 to 7.1.3 that have not updated since October 28. That is the whole affected range, including old installs people forgot they own.
    • Shared hosting, most of all. When WordPress cannot write core files directly, it falls back to the full-package upgrade — the exact code path this bug lives in.
    • Anyone who turned off auto-updates and then stopped checking. Turning off auto-updates is a legitimate choice; turning off the calendar reminder that goes with it is not.

    If you are already on 7.1.4 or newer, the flaw does not apply to you, but the habit still does. If your host patches for you, ask for the core version number rather than for reassurance — the answer is a version, not a feeling.

    The five-minute update order

    Do these in order. The block has to exist before the update runs, not after.

    1. Back up the database and the files. A database export plus a tarball of the site directory. If you have never restored one, test the restore before you need it.
    2. Block the upgrade folder at the web server. On nginx, add a location block that returns 403 for ^~ /wp-content/upgrade/. On Apache or LiteSpeed, add a rewrite rule in the site’s root .htaccess. This only refuses HTTP requests; PHP can still write to the folder, so the updater keeps working.
    3. Update core. Dashboard → Updates → Update now, or from the command line with WP-CLI.
    4. Verify. Confirm the version, verify core checksums, then load the homepage and the login page while logged out.
    5. Leave the block in place. It costs nothing and closes the same trick in the next security release.
    # 1. Back up before anything
    wp db export ~/backup-$(date +%F).sql
    tar czf ~/files-$(date +%F).tar.gz public_html
    
    # 2. Block the upgrade folder (nginx), then reload nginx
    #    location ^~ /wp-content/upgrade/ { return 403; }
    #
    #    Apache / LiteSpeed: put this above the WordPress block
    #    in the site root .htaccess:
    #    RewriteRule ^wp-content/upgrade/ - [F,L]
    
    # 3. Update and verify
    wp core update
    wp core version
    wp core verify-checksums
    
    # 4. Plugin queue
    wp plugin list --update=available
    wp plugin update --all

    If a host control panel runs updates for you and something breaks while the folder is blocked, remove the rule, run the update, and put it straight back. What you do not want is an update that starts, fails halfway, and leaves a half-unpacked copy sitting in a web-reachable directory while you go looking for the cause.

    The plugin queue is bigger than the core queue

    Wordfence’s weekly report for October 26 to November 1 counted 549 vulnerabilities across 351 plugins and 4 themes, including 17 critical and 132 high-severity disclosures. Forty-one had no patch at the time of disclosure. You cannot update your way out of those — the only move is to deactivate and delete.

    A separate batch documented on November 9 covers 13 plugins, and four of them are common enough to check by name:

    Plugin Installs Problem Action
    LatePoint 100,000 Auth bypass, CVSS 9.1, through 5.7.6 Update now
    TranslatePress 400,000 Two stored XSS via comments, CVSS 7.2, through 3.3.8 Update now
    Amelia 90,000 SQL injection plus missing authorisation, CVSS 7.5, through 9.9.1 Update now
    wpForo 20,000 SQL injection and subscriber-to-admin escalation, CVSS 7.5, through 3.2.2 Update now

    None of these plug straight into core, so they are not today’s headline. They are the reason “I updated WordPress” is not the same statement as “I patched my site”. A booking plugin with an authentication bypass is a worse day than a narrow core race condition, and it does not announce itself.

    How to tell whether someone hit you during an update

    Three checks, five minutes, no plugins required:

    • Access logs. Search for requests to /wp-content/upgrade/, especially POSTs to an installer file from an address that is not yours. Reading access logs is the same skill as spotting a brute-force run, pointed at a different string.
    • Administrator accounts. List the administrators and compare the registration dates against the day you ran the update. A new admin you did not create is the whole answer.
    • Unexpected files. Anything ending in .php inside uploads, mu-plugins, or a leftover upgrade folder that you did not put there. This is part of the five-minute infection check.

    If two of the three come back dirty, stop tidying and treat the site as compromised. Cleaning the symptom without finding the entry point is how a site gets reinfected a week later; the recovery order is: isolate, preserve evidence, rebuild from a known-good backup, then rotate every credential that touched the site.

    The checklist I actually run

    • Core version is 7.1.4 or newer on every site I am responsible for, including the one I forgot about in September.
    • /wp-content/upgrade/ returns 403 from the public internet.
    • A backup from the last seven days exists, and one restore has been tested this year.
    • No active plugin has a published, unpatched vulnerability — those get deleted, not “monitored”.
    • Access logs checked for upgrade-folder requests in the last 30 days.
    • One admin account per person who actually needs it, and nobody’s old developer still on the list.

    None of this is exciting, which is the point. Sites rarely get hurt because the owner lacked a clever security stack. They get hurt because a three-week-old security release looked like a maintenance chore, and the update window stayed open while nobody was watching.

  • How to Set Up Google Search Console Properly

    How to Set Up Google Search Console Properly

    Search Console is the only place Google tells you what it actually did with your site — which pages it indexed, which queries showed you, and whether a human reviewer took action against you. The setup that matters is short: one Domain property verified by DNS, one sitemap submitted, alerts going to an address you read, and a ten-minute check once a week. Everything else in the interface can wait until you have traffic worth analysing.

    The short version

    • Create a Domain property, not a URL-prefix property. One property covers http, https, www and every subdomain you own.
    • Verify with a DNS TXT record and leave the record in place. Google re-checks it, and deleting it costs you access.
    • Submit the sitemap WordPress actually generates — /wp-sitemap.xml on a stock install, /sitemap_index.xml with Yoast or Rank Math.
    • Three reports are worth opening: Performance, Page Indexing, and Security & Manual Actions.
    • Data lags a couple of days and new pages take weeks to be crawled. Check weekly, not hourly.

    Pick the Domain property, not the URL prefix

    Google offers two kinds of property. A URL-prefix property is tied to exactly one protocol, one hostname and one path: https://example.com does not include https://www.example.com, and neither includes http://. A Domain property covers all of them, plus every subdomain, because ownership is proved at the DNS level for the bare domain.

    Property type Covers Choose it when
    Domain Every protocol and subdomain: example.com, www., shop., http and https You control the DNS, which is the normal case for a site you own
    URL prefix One scheme, host and path, exactly as typed You cannot edit DNS, or you are monitoring a section of a domain you do not own

    In the add-property screen, choose Domain, type the bare domain without https:// and without a trailing slash, and continue. Do not also create a URL-prefix property “just in case”: the two keep separate data and separate emails, so you end up watching two half-empty dashboards instead of one complete one.

    If your DNS lives at Cloudflare, the record goes in the same place as everything else — the Cloudflare setup walkthrough covers the settings that break sites.

    Verify with a DNS record and leave it alone

    Google gives you a TXT value that looks like this. Copy it exactly, including the google-site-verification= prefix.

    Type:  TXT
    Name:  @            (the bare domain)
    Value: google-site-verification=AbC123dEf456...
    TTL:   Auto or 3600

    In cPanel that is Zone Editor → Manage → Add Record → TXT. In Cloudflare it is DNS → Records → Add record, type TXT, name @. Save, wait a few minutes, then press Verify back in Search Console. When verification fails it is almost always one of three things: the record went on www instead of the root, the value was pasted with a smart quote or a line break from an email, or the DNS change has not propagated yet. Give it an hour before you start changing things.

    The mistake I see most often is cleanup. Six months later someone tidies the DNS zone, deletes the “random TXT record”, and the property breaks. Google re-checks ownership periodically; when the record is gone, access goes with it. If you move nameservers, recreate the TXT record at the new provider before you flip the delegation.

    The HTML-tag and Google Analytics verification methods are fine, but both are fragile in WordPress: a theme change can strip the tag from the header, and a plugin that removes the analytics snippet takes the property with it. DNS survives theme updates, plugin audits and migrations, which is why it is the one I use.

    Submit the sitemap WordPress already builds

    You do not need a sitemap plugin to start. Since WordPress 5.5 there is a built-in sitemap at /wp-sitemap.xml; if you run Yoast or Rank Math it is /sitemap_index.xml instead. Open the URL in a browser first — you should see XML, not a 404 and not a redirect to the homepage.

    Then go to Indexing → Sitemaps, paste the full URL, and submit. The status column should read Success within a day or two. Couldn’t fetch usually means the URL redirects, robots.txt blocks it, or the response is HTML; fix that before submitting again, because repeated failures do not speed anything up.

    Two more things worth doing once: add a Sitemap: line to robots.txt pointing at the same file, and open the sitemap index itself. A stock WordPress sitemap splits into posts, pages, categories and users, and if one of those child sitemaps errors the parent reports it as a warning. A sitemap is a hint, not a command: it tells Google where the URLs are and nothing more. Submitting the same file every day does not push a page into the index.

    Read three reports and ignore the rest

    Performance is the report people open first and the one most often misread. It shows queries, pages, countries and devices for a chosen date range, three months by default. Two cautions: the data lags by a couple of days, so yesterday always looks like a cliff, and “average position” is an average across every impression, not the position you see when you search from your own desk. Filter by page to see which queries actually feed one article.

    Page Indexing is the honest one. It lists every URL Google knows about and why it is or is not indexed. The reasons are not equally urgent:

    • Discovered – currently not indexed: Google knows the URL exists and has not crawled it yet. On a small site this is often just queue time. Internal links from pages that are already indexed help more than anything else.
    • Crawled – currently not indexed: Google fetched the page and chose not to keep it. That is usually thin or near-duplicate content. Improve the page instead of requesting indexing every morning.
    • Excluded by noindex: a setting, not a bug. Check the page source for the tag, then find the plugin or theme option that adds it.
    • Alternate page with proper canonical tag: normal on paginated and tagged archives. Not an error.
    • Duplicate, Google chose a different canonical: look at your canonical tags; on WordPress the usual culprits are archives and query strings.

    Security & Manual Actions holds two sections that look similar and mean different things. A manual action is a person at Google deciding your site breaks the spam policies; a security issue is Google believing your site is hacked or serving malware. Both are emailed to verified owners and both are urgent. If either list is not empty, stop reading about search optimisation and deal with it — the five-minute infection check is the fastest first pass, and the recovery walkthrough is the order I would work in.

    The weekly ten-minute check

    Search Console emails you about manual actions and security issues. It will not email you when a page quietly drops out of the index, so put a recurring slot in the calendar and work through the same five items:

    1. Page Indexing — did the “not indexed” count jump by more than a few pages? Open the reasons and look for a new one.
    2. Performance — compare the last 28 days with the previous 28. Find one query or page that lost clicks and write down why.
    3. Security & Manual Actions — confirm both sections are empty.
    4. Sitemaps — status Success, with a recent “last read” date.
    5. Settings → Users and permissions — once a quarter is enough; remove accounts you no longer control.

    That is the whole routine. The reason to keep it boring is that the signals that matter — a page dropping out of the index, a query collapsing, a manual action — are visible within a week if you look, and invisible for months if you do not.

    If you only do one thing this week: create the Domain property, paste the TXT record at your DNS provider, submit /wp-sitemap.xml, and put the ten-minute check on your calendar. Then go back to writing. Search Console rewards patience far more than it rewards fiddling, and once the property is verified and the sitemap is in, the only thing left to improve is the site itself.

  • Anatomy of a Hacked WordPress: What Attackers Leave Behind

    Anatomy of a Hacked WordPress: What Attackers Leave Behind

    When a WordPress site gets hacked, the visible symptom is usually the last thing to arrive. The real footprint is a handful of files, a couple of database rows, and one user account you did not create. If you know the six places to look, you can tell a hacked site from a broken one in about ten minutes — and you can do it without installing a security plugin.

    Clean up a few of these and the pattern repeats: the same four directories, the same three tables, the same two persistence tricks. Attackers reuse what already works.

    The short version

    • Most infections live in wp-content/plugins, wp-content/mu-plugins, wp-content/uploads, and the active theme’s functions.php.
    • mu-plugins is the favourite hiding place: files there load automatically and never appear in the Plugins screen.
    • Core files usually get one or two lines changed, so run wp core verify-checksums before you trust anything else on the site.
    • Check users and cron next. A rogue administrator or a scheduled event calling an outside URL is persistence, not just a symptom.
    • Cleaning files without finding the entry point means you will be back here in three weeks.

    Start with the file system, not the scanner

    A scanner matches signatures; a hand-edited theme file that includes a remote script usually passes. These three structural checks are faster and do not depend on a signature database being current.

    Run them from the WordPress root over SSH, or through your host’s file manager terminal.

    # PHP files inside uploads — there should be none
    find wp-content/uploads -type f -name '*.php'
    
    # Everything modified in the last 30 days, newest last
    find wp-content -type f -name '*.php' -mtime -30 -printf '%TY-%Tm-%Td %TH:%TM  %p\n' | sort
    
    # Any PHP file that is world-writable, a common attacker trick
    find . -type f -name '*.php' -perm -o+w

    The first command should print nothing. Uploads is for images and documents; a .php file sitting next to your photos was put there by someone, and it is a backdoor.

    The second command is a timeline: compare it with the dates you actually ran an update.

    mu-plugins: the folder that loads and hides

    This is the trick I see most often, and the one most site owners have never heard of. Anything in wp-content/mu-plugins loads on every request with no activation step and no entry in the Plugins list. Good hosts use it for a cache loader or an object-cache drop-in. Attackers use it for a single line of PHP.

    ls -la wp-content/mu-plugins/

    If you do not recognise a filename, read the first twenty lines. A real mu-plugin has a comment header and actual code. A malicious one is often a lone include of a file elsewhere, or one very long base64 string passed to eval, gzinflate or create_function. There is no legitimate reason for a plugin to decode a string and execute it.

    Do not just delete the file. Note its name and look for the same string in the theme and in wp-config.php — a mu-plugin loader is usually called from two or three places so that removing one copy does nothing.

    Fake plugins with real-looking headers

    A dropped plugin differs from a real one in ways that survive a quick glance. It has a proper header block — Plugin Name, Version, Author — because that header is what makes the file a plugin at all. What it lacks is history: no changelog, no readme in the format WordPress expects, and an author URL on a recently registered domain.

    wp plugin list --fields=name,status,version,update
    ls -la wp-content/plugins/

    Compare the two: the command lists what WordPress knows about, the directory shows what is on disk. A folder with no matching row was never installed through the admin — someone dropped it there. A plugin whose files all share one timestamp while the header claims an old version is not one anyone maintained.

    Core files: one line is enough

    Injections into core are small on purpose. A single line at the top of wp-settings.php or index.php, often wrapped in a check for a specific user agent or a cookie, is enough to serve a payload to Googlebot and nothing to you.

    WordPress ships with checksums for every file in every release, and WP-CLI can compare your installation against them:

    wp core verify-checksums

    Clean output means no core file has been edited; warnings name the files that differ. Do not fix it by unpacking a fresh copy over a live site — read the diff first, then replace that one file from the official zip.

    The database footprint: users, options, cron

    Files get you access. The database is what keeps it. Three tables carry almost all of the persistence: wp_users, wp_options, and wp_usermeta with the serialised cron array.

    wp user list --role=administrator --fields=ID,user_login,user_email,user_registered
    wp cron event list --fields=hook,next_run,recurrence
    wp option get siteurl
    wp option get home

    On the user list, look at the registration date, not the name. Attackers pick names that blend in — wp_support, admin_backup, editor2 — but they appear on a date when you were not working. Every administrator should be a person you can name.

    On the cron list, a hook with no plugin behind it is the tell. WordPress will happily schedule an event pointing at a function that a malicious mu-plugin defined; the event itself looks ordinary. If you cannot trace a hook to a plugin you installed, treat it as hostile.

    For options, siteurl and home should be identical and should be the URL you expect. A mismatch is the classic way to keep an admin logged in on one hostname while sending visitors elsewhere.

    Redirects and injected sitemaps

    Some infections never add a PHP file. They edit .htaccess and add a rule that fires only for mobile user agents, or only for traffic arriving from a search engine. The page looks completely normal to you and redirects every visitor from Google to a casino.

    Read .htaccess from the top. Rules inside <IfModule mod_rewrite.c> that reference HTTP_USER_AGENT, HTTP_REFERER, or a specific country code are not part of WordPress — the stock rules only rewrite to index.php.

    The sitemap is the other quiet channel. Check /sitemap.xml and /wp-sitemap.xml against your post list. URLs you never published mean the injection is generating pages on the fly, usually only for a crawler carrying a Google referrer. That is exactly what happened when my own site was hit with Japanese keyword spam — the recovery steps are here.

    Where to look, at a glance

    Where it hides What you see How to confirm
    uploads a .php file beside images find wp-content/uploads -name '*.php'
    mu-plugins unrecognised file, no Plugins entry ls -la wp-content/mu-plugins/
    plugins folder with no matching wp plugin list row diff the list against the directory
    core one edited line in a core file wp core verify-checksums
    users admin registered on a quiet day wp user list --role=administrator
    cron hook that belongs to no plugin wp cron event list
    .htaccess / sitemap redirects or URLs you never published read the rules, compare sitemap to posts

    Removing files is half the job

    The other half is the entry point: an unupdated plugin, a reused password, or a theme that bundles “nulled” premium code. Locking down wp-login closes the front door; it does not remove a key already copied.

    So after you clean the files: change every administrator password, change the database password, regenerate the WordPress salts in wp-config.php (which invalidates every existing login cookie), and revoke any FTP or SSH key you do not recognise. Then check your hosting account for extra FTP users — a leftover FTP account survives a full WordPress reinstall.

    Be careful with the restore: if the last backup already contained the backdoor, restoring it puts you back where you started. Compare files against a known-good copy, not a snapshot from an infected week.

    Then read the access log for the day the files changed — the request that wrote them is in there, with the IP and the path it used. That is how you find the entry point instead of guessing at it.

    What to do today

    Run the three file-system commands and wp core verify-checksums, and save the output to a file on your own machine. That file is your baseline: next time something feels wrong, run the same commands and compare. Ten minutes now beats an afternoon of wondering.