WordPress Core Security Updates: What They Actually Do

WordPress security updates often look like minor version bumps. Here is what is really inside them and why every release matters for your site.

Laptop screen with lines of code representing WordPress core security updates

When you log into your WordPress dashboard and see a notice that a new version is available, the temptation is to click later and move on. The version number went up by 0.0.1. Surely there is nothing important in there. In practice, the opposite is usually true. WordPress core security releases tend to look small on the surface and matter a lot underneath. This article walks through what those updates actually contain, why they happen, and how to apply them without breaking your site.

How WordPress versions are numbered

WordPress uses a three part version number. Major releases bump the first or second number and introduce new features, design changes, and significant under the hood improvements. Examples include 6.4, 6.5, 6.6, and so on. Minor releases bump only the third number, and these are almost always security and maintenance focused. A jump from 6.7.1 to 6.7.2 is the security team telling you they found and fixed something.

Minor releases are usually pushed out automatically by default on most sites, but not always. If the auto update setting has been turned off, or if the site is on an unusual hosting configuration, you may need to apply them manually. The risk is that an unpatched minor release leaves you exposed to a vulnerability that has already been publicly documented.

What a typical security release contains

WordPress security releases typically bundle several distinct fixes. A representative release might contain a fix for a stored cross site scripting flaw, a privilege escalation in a specific user role, a problem in the REST API where unauthenticated users could read more information than they should, and a fix in the way WordPress handles a specific class of file upload.

Each of these on its own is not catastrophic, but in combination they can give an attacker a useful set of building blocks. Security fixes are not always about preventing complete site takeover. Sometimes they prevent a smaller hole from being used as one step in a larger chain.

Why the WordPress core team publishes details

When WordPress releases a security update, it also publishes information about what was fixed. This is a deliberate trade off. By being transparent, the project allows site owners and security tools to know exactly what their risk is. The downside is that attackers also know. Within hours of a release, automated scanners begin probing the public web for sites still running the previous version.

This is why the gap between release and update on your site matters. The longer you wait, the larger the window where a documented vulnerability is sitting unpatched on your server.

Automatic updates and when they are not enough

Since WordPress 3.7, minor security updates can be applied automatically. For most simple sites, this is on by default and works well. The site picks up the patch within hours of release and you only know it happened because of an email notification.

There are reasons it may not happen, though. Auto updates can be disabled in wp-config.php or by a plugin. Some hosts apply their own patching schedule and turn off the built in mechanism. Some sites have filesystem permissions that prevent WordPress from writing to its own core files. If you are not certain auto updates are working on your site, check. Look at the version number in the footer of the admin against the latest release on wordpress.org.

Major version updates and the staging discipline

Major releases are different. They contain new features and design changes, and they can change behaviour in ways that some plugins or themes are not ready for. The safest pattern is to apply major updates on a staging copy first, run through the key pages, the admin, and any custom functionality, and only then push the change to production.

For a business site, the recommended cadence is to apply major releases within a month or two of their public availability, after the immediate post release minor patches have settled out. That gives you time to catch any breakage in your specific stack while not lagging so far behind that you fall out of support.

What happens if you stay on an old major version

The WordPress security team backports security fixes to a handful of older major versions, but not forever. Once a version falls out of the supported window, vulnerabilities discovered in it will not be patched. Sites on those versions become permanently exposed, and any new flaw published against them is a free entry for attackers.

The WordPress security policy generally supports the current major version plus the previous one. Anything older than that is on borrowed time. If you are running WordPress 5.something today, you are in that danger zone.

The wider picture: core, themes, plugins, PHP

Keeping WordPress core up to date is only one part of the story. The same logic applies to your active theme, every plugin you have installed, and the version of PHP your host is running. Each of these layers receives its own security updates, and each one needs to be kept current.

A site running the latest WordPress core but a five year old PHP version is still at risk, because PHP itself has had critical security fixes during those years. A site running the latest core and PHP but with an abandoned theme is still at risk. The whole stack needs to move forward together.

A practical update routine

The routine we use across the WordPress sites we manage looks like this. Confirm a current off site backup. Apply core minor updates as soon as they appear, usually automatically. Apply plugin and theme updates at least weekly, in batches, on staging for risky ones. Apply major core releases monthly, after staging tests. Review the PHP version annually, or sooner if your host announces a deprecation. Watch the security feeds for any zero day that needs out of cycle attention.

None of this is mysterious. It is just discipline. The sites that get into trouble are almost always the ones where the discipline has lapsed, often for months or years.

Need a hand?

If you are not sure whether your WordPress core is up to date, whether auto updates are firing correctly, or whether your site can safely move to the latest major version, Smart Coding can audit and bring everything current. Get in touch and we will get the stack into a known good state.

Sponsored Loved this story? Defyn turns articles like this into the websites your competitors wish they had. Talk to us → defyn.com.au