Skip to content
Wideview

Journal / 3 December 2026

What we find maintaining 108 WordPress sites

George TsokasFounder

An isometric grid of small site tiles crossed by a scanning beam, with one tile glowing

One Saturday in September we got one of the most boring emails WordPress sends: “A new comment is waiting for your approval”. It was an ad for an online casino, on a client’s site. The same thing had shown up on several sites over the previous 48 hours, and the question was simple: why now, and why on so many?

To answer it properly we have to say what we maintain. On 1 October 2026 our MainWP had 108 WordPress sites connected, and 105 of them showed as connected at the time of counting. That number covers every WordPress site we maintain through MainWP, across all our servers. The check that followed was done on one of those servers, and the numbers below are for that server only.

In short

  • Comments are open by default, and most of the sites we looked at had never used them.
  • XML-RPC was the real finding: 987 requests in 48 hours, 905 of them with wrong credentials.
  • We pulled a blanket block that took the blame for something else, then rolled out the proven mechanism site by site.

Spam comments: not a new hole, WordPress’s default

The logs showed a simple pattern. The bot first asks the site’s REST API which posts accept comments, and then submits the comment to the form. Nothing clever, nothing new.

On that server, 64 WordPress installations had comments open, as they are by default, and no spam filter. The sites that did have a filter had caught 1,121 spam comments in seven days, without anybody noticing. So the pressure was constant. We were just seeing it only where there was no protection.

Before deciding what to do, we looked at what comments those 64 sites really had. On 28 of them, the only approved comment was the sample WordPress adds at installation (“A WordPress Commenter”). Only 2 had genuine reader comments. Most of these sites had never used comments, they just had them open.

We wrote a small mu-plugin with two states:

  • Closed, if the site has no real comment: the form closes and comments through the API are rejected. WooCommerce product reviews stay open.
  • Guarded, if the site has real commenters: a hidden honeypot field for bots and mandatory approval of every comment.

We tested it first on 4 sites, each with a different profile, and then rolled it to the other 60, checking each site before and after. On one it did not load, because the site had renamed its wp-content folder. We only saw it because we were checking site by site. The spam waiting for approval we deleted, but only after rechecking that it was still the same ones: 44 across 21 sites. We had said 46 out loud, our own miscount.

Two bar panels. Comments on one server: 64 installs with comments open, 28 with only the sample comment, 2 with genuine comments. Login attacks over 48 hours: 1,593 failed wp-login attempts, 987 xmlrpc requests, 905 wrong passwords, then 1 request each the next day.
Left: comments on one server. Right: login attacks on the same server over 48 hours.
108WordPress sites connected to MainWP on 1 October
64installs on one server with comments open
905wrong-password answers from xmlrpc.php in 48 hours

XML-RPC: the real finding

While chasing the comments we found something more serious. In 48 hours, xmlrpc.php had received 987 requests. 905 of them got the answer “wrong username or password”. Somebody was trying passwords, in bulk. In the same period the login page wp-login.php had 1,593 failed attempts.

XML-RPC is an old WordPress API for remote management. According to the WordPress documentation, it has been enabled by default since version 3.5. Today very little needs it, mainly a Jetpack connected to WordPress.com.

The main sites on the server already had it closed, through a rule in .htaccess that a script of ours adds automatically every night. But 30 sites on subdomains and secondary domains did not, because the script only looked in the main folder of each account. That is exactly where the bots were hitting. We checked that none of the 30 had Jetpack.

Why we pulled the blanket block

Our first move was one rule for the whole server: no requests to xmlrpc.php, on any site. We tested it on five sites and checked the homepage of every site before and after. Same results.

An hour later the message came: “I see slowness on the sites”. We pulled the rule within minutes, and then measured. The 503 errors were on a single site, within three minutes, exactly when an administrator was updating 21 plugins from wp-admin. WordPress puts the site in maintenance mode while updates run. That was the “slowness”. Our rule had nothing to do with it.

We did not put it back, though. The next day we closed XML-RPC on the 30 sites one by one, with the same .htaccess rule that already worked on the others, a backup of every file and a homepage check on all sites before and after. We also fixed the nightly script so it covers every folder, not only the main one.

The reason is practical. A blanket measure on a shared server becomes the suspect for whatever goes wrong at the same time, even when it is not at fault. A mechanism that has already run for months on dozens of sites has nothing to prove. By noon the next day, counting from the early hours, the site logs had received 1 request to XML-RPC and 1 to wp-login, against hundreds a day before. The server-level brute force protection we turned on that same evening, and which stayed on, helped with that.

We have written the same pattern down as a rule for ourselves. A general limit on SSH connections to a server would cut our own tools first, which connect many times a minute from the same address. A block on whole IP networks, in another incident, would have cut mostly real customers. Before any broad measure we ask who else it catches, and we measure it.

The update that ignored the “ignore”

Maintenance is not only security. A checkout payment-fee plugin came out in a version that threw a fatal error when staff saved an order from the admin. We held it at the old version and put it on MainWP’s ignored updates list. Five days later, on one shop, the plugin updated itself to the broken version. MainWP’s “ignore” did not stop it.

We rolled it back and wrote a mu-plugin that refuses to install that update from any route. Because a lock can keep you on an old version forever without you noticing, the same plugin sends an email when a newer version comes out, so we can check whether it has been fixed. It is on 4 shops.

A smaller finding from another site: MainWP showed 13 pending updates, the real number was 11. It had kept the other two from an older check. Before we count updates, we refresh the list first.

Checklist if you own a WordPress site

  • Do you use comments? If not, close them on old posts too, not just new ones. Delete the WordPress sample comment as well.
  • Is XML-RPC open? If you have no Jetpack connected and no app that needs it, close it.
  • Test your login page. Is there an attempt limit or a captcha?
  • Which plugins are locked to an old version, and why? Who will tell you when the fix is out?
  • Update payment and shipping plugins one at a time, with a backup first, not all together from the dashboard.
  • Who reads the WordPress emails? The email about the comment waiting for approval was the only sign.

What we do every day on the sites we maintain, from updates to site-by-site security checks, is on the Care page. For the servers underneath, see Hosting. If speed also worries you, we wrote about Core Web Vitals on WordPress.

George Tsokas

Founder, Wideview Entertainment. Writes from production, not from theory.

Keep reading