WordPress published 19 security advisories on 18 November 2026, and the WordPress 7.1.5 security release closes every one of them. Five are rated high. The worst lets an unauthenticated attacker turn one click from an Administrator into a new admin account, and from there into code execution. Another lets anyone who can post a comment store a script on pages where a Comments or Latest Comments block sits in the post content.
The fixes were backported to every branch down to 4.7, so you don’t have to jump to 7.1 to be safe. This guide lists what each advisory exposes and who can reach it, then checks and patches a site with WP-CLI and from the dashboard. It finishes with the stopgaps we’d use on a site that can’t update today. Every step was run in November 2026 on Ubuntu 26.04 with PHP 8.5, MariaDB 11.8 and nginx, against a 7.1.4 site and a 6.9.11 site, and nothing here turns a security control off.
The advisories and who can trigger them
None of these issues has a CVE ID. WordPress published them as GitHub security advisories on the wordpress-develop advisory list, so the GHSA ID is the identifier to track. The last column is the oldest branch that carries the bug: a site on an older branch is not exposed to that row.
| Advisory | Severity | What it exposes | Who can trigger it | Bug present from |
|---|---|---|---|---|
| GHSA-pmp8-6cv8-q323 | High | Privilege escalation through Template Part block attributes, can end in code execution | Author and above, or no account at all if an Administrator opens a crafted editor link | 5.9 |
| GHSA-cr2m-2j4r-3v3x | High | Stored XSS through shortcode attributes in comments | Any visitor who can comment, on pages with a Comments or Latest Comments block in the content | 4.7 |
| GHSA-mwj7-xhp9-7773 | High | Super Admin takeover through Customizer menu previews | Site Administrator on a multisite network with a classic theme and widgets | 4.7 |
| GHSA-gm52-6h3w-97v4 | High | Reflected XSS in the legacy media library popup | No account, if a logged-in user who can upload files opens a crafted link | 4.7 |
| GHSA-jmhp-hg7w-w9c5 | High | XSS in the block editor through Openverse image metadata | No account on your site; fires for the user who inserts that Openverse image | 6.2 |
| GHSA-xc9c-4hg4-h4jg | Medium | SQL injection in WP_Meta_Query through nested relation values | Whoever reaches a plugin or theme that passes untrusted nested meta_query input | 4.7 |
| GHSA-mcv9-c2pg-6m4v | Medium | SQL injection through the front page setting in Customizer previews | Administrator; on multisite a site admin can read the shared database | 4.7 |
| GHSA-56j2-5mp6-wr3x | Medium | Denial of service through batched XML-RPC pingbacks | No account | 4.7 |
| GHSA-rcr3-43fx-wqfv | Medium | Private taxonomy terms such as menus leak through the REST search endpoint | No account | 5.6 |
| GHSA-p9x8-m3q4-9wg6 | Medium | Commenter emails, IPs and private post comments leak through XML-RPC wp.getComments | Subscriber and above | 4.7 |
| GHSA-2frv-jg59-g699 | Low | XSS in wp_interactivity_data_wp_context() through the store namespace | Whoever reaches a plugin or theme that passes an untrusted namespace | 6.5 |
| GHSA-6955-723v-xvmm | Low | Loose JSON media type match that can help requests slip past upstream filters | Hardening only, no direct vulnerability | 5.6 |
| GHSA-jq8m-j7jq-c53m | Low | User email addresses leak through the REST comments endpoint | Author and above | 4.7 |
| GHSA-h24f-q5c7-c33g | Low | Stored XSS through the Comment Date block date format | Contributor and above | 6.0 |
| GHSA-86p8-2wq3-x387 | Low | XSS through scripts in oEmbed provider responses | Contributor and above | 4.8 |
| GHSA-v7qc-72mg-wgpc | Low | Information leak through REST post and template author assignment | Editor and above on multisite | 4.7 |
| GHSA-wx6p-jg9m-c5mj | Low | Stored XSS through Customizer previews | Administrator without unfiltered_html, such as a multisite site admin | 4.7 |
| GHSA-qq5q-rw6p-gv4j | Low | Authorization bypass when editing comments in the admin | Author and above | 4.7 |
| GHSA-g2r4-3wmg-48f7 | Low | Stored XSS through media filenames when a block is converted to a File block | Contributor and above | 5.9 |
Read the table by who can reach the bug, not by severity alone. A single-author blog with comments closed and no multisite network is left with the unauthenticated XML-RPC and REST rows, plus the high-rated issues that need an Administrator to click a crafted link. A busy multisite network with open registration and dozens of Contributors is exposed to nearly all of it. The release post also lists a twentieth change, the removal of the Imgur embed variation, which is hardening rather than a fix.
Your exposure is wider than the minimum when any of these conditions holds on the site, so rank those sites first in the patch queue:
- Visitors can post comments, and a Comments or Latest Comments block sits in post or page content.
- The site is part of a multisite network where site Administrators are not also Super Admins.
- Accounts at Contributor, Author or Editor level belong to people outside your team.
- The
/xmlrpc.phpendpoint answers POST requests from the internet.
A site that meets none of them still needs the update. It just buys you a day to schedule it properly instead of patching in a hurry.
Fixed versions on every branch
Staying on an older branch is a valid choice, as long as it’s the last point release of that branch. The WordPress 7.1.5 release post confirms backports to all branches through 4.7, and the update API offered every one of these builds when we queried it. Find your branch on the left and make sure the site reports the version on the right.
| Branch | Fixed in | Branch | Fixed in |
|---|---|---|---|
| 7.1 | 7.1.5 | 5.9 | 5.9.21 |
| 7.0 | 7.0.9 | 5.8 | 5.8.20 |
| 6.9 | 6.9.12 | 5.7 | 5.7.22 |
| 6.8 | 6.8.13 | 5.6 | 5.6.24 |
| 6.7 | 6.7.12 | 5.5 | 5.5.25 |
| 6.6 | 6.6.12 | 5.4 | 5.4.26 |
| 6.5 | 6.5.15 | 5.3 | 5.3.28 |
| 6.4 | 6.4.15 | 5.2 | 5.2.31 |
| 6.3 | 6.3.15 | 5.1 | 5.1.29 |
| 6.2 | 6.2.16 | 5.0 | 5.0.32 |
| 6.1 | 6.1.17 | 4.9 | 4.9.36 |
| 6.0 | 6.0.19 | 4.8 | 4.8.35 |
| 4.7 | 4.7.40 |
Two notes on the older builds. The release post says the 6.9.12 build and everything older also drop 1024-bit root certificates from the bundled certificate file. A plugin that still talks to an endpoint chained to one of those roots will start failing TLS checks. And a site older than 4.7 gets nothing at all: no backport exists, so that site needs a branch jump, not a point release.
The version your site runs right now
Do not trust the footer of the admin screen or a cached report from a plugin. Ask the install itself. WP-CLI reads the same version file WordPress loads, and its check-update subcommand asks the update API what is available for that exact build. If WP-CLI is not on the server yet, the official phar is a single file:
curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar
sudo install -m 0755 wp-cli.phar /usr/local/bin/wp
Point a variable at your document root so the rest of the commands copy cleanly. Our lab used /var/www/site-a for the 7.1.4 site; yours is probably /var/www/html or a per-site directory.
export WP_PATH=/var/www/site-a
Run WP-CLI as the user that owns the files, which is www-data on Ubuntu and Debian. WP-CLI refuses to run as root unless you add --allow-root, and an update run that way leaves root-owned files in the docroot.
sudo -u www-data wp core version --extra --path="${WP_PATH}"
sudo -u www-data wp core check-update --path="${WP_PATH}"
On the 7.1.4 site the API offered 7.1.5 as a minor update with a partial package. The 6.9.11 site, checked the same way, got two rows: 6.9.12 as the minor update on its own branch and 7.1.5 as a major jump. Either minor build closes the advisories.

Without WP-CLI, the version string lives in one PHP file, and reading it needs no database access or login:
grep "wp_version =" "${WP_PATH}/wp-includes/version.php"
Our unpatched site answered with the line below. Anything lower than the fixed build for your branch in the table above means the site is exposed.
$wp_version = '7.1.4';
For a fleet, the same grep across every docroot gives a quick inventory. A scanner such as WPScan on Linux also reports the core version from outside, which is how an attacker sees it.
Core files that fail their checksums
Before patching, verify that core files match what WordPress shipped. A modified core file is a sign of an earlier compromise, and an update only replaces files it knows about. We ran wp core verify-checksums on the 7.1.4 site and it failed, though nothing had touched it since install.
sudo -u www-data wp core verify-checksums --path="${WP_PATH}"
A clean install prints one success line. Ours printed the warning below dozens of times.
Warning: File should not exist: wp-includes/php-ai-client/…
The output listed 25 files under wp-includes/php-ai-client that did not exist and 21 that should not, ending in Error: WordPress installation doesn't verify against checksums. The “should not exist” names were all clipped at about 90 characters as printed, which is 100 once the wordpress/ prefix inside the archive is counted. That site had been installed with wp core download, and WP-CLI’s tarball extraction cut the long paths of the AI client library the 7.1 branch ships. GNU tar lists the same tarball with full names:
tar tzf wordpress-7.1.4.tar.gz | awk 'length > 100' | grep -c php-ai-client
It counted 25 long paths, the same 25 files WP-CLI reported missing, so the release itself is fine. The same archive holds 14 long font paths under wp-content/themes, and verify-checksums never looks there. If a bundled theme renders with a fallback font after a wp core download install, that’s the reason.
Do not delete anything yet. The update restores the missing files, and the clipped leftovers are removed after it, in the next section. Any other file in the warning list, especially one in wp-admin or the docroot, is not this bug. Restore that site from a known good backup before you patch it.
Patching with WP-CLI
Take a database dump and a copy of wp-content first. A minor update rarely breaks anything, but this one touches comments, the Customizer and the REST API, and a plugin hooked deep into any of those can misbehave. With the backup done, the update itself is one command, followed by the database migration check:
sudo -u www-data wp core update --path="${WP_PATH}"
sudo -u www-data wp core update-db --path="${WP_PATH}"
WP-CLI pulled the no-content package, unpacked it and reported success. The warning about /var/www/.wp-cli/cache/ only means the www-data user has no writable home for the download cache; the update still completed. The database was already at revision 61833, so update-db had nothing to do on a minor release.

On a site installed with wp core download, the update brings back the 25 missing files but leaves the clipped ones behind, so verification passes with 21 warnings. Read the warning list before deleting anything: every entry should sit under php-ai-client and end in a clipped name. If one does not, stop and treat that file as suspect. Once the list looks right, run this loop after the update to remove exactly what the checker flags:
sudo -u www-data wp core verify-checksums --path="${WP_PATH}" 2>&1 | sed -n 's/^Warning: File should not exist: //p' | while read -r f; do sudo rm -v "${WP_PATH}/$f"; done | tail -3
The next run of verify-checksums came back clean. The capture below starts with the run from before the update, trimmed where it says so, and then jumps to the cleanup after it; the update itself is the screenshot above.

Proof the patch holds is three checks, not one: wp core version reports the fixed build, verify-checksums passes, and check-update prints Success: WordPress is at the latest version. On a 6.9 site, the last check still lists the major jump after the patch, which is expected and harmless.
Patching from the dashboard
A site without shell access gets the same build from Dashboard > Updates. Open Updates in the sidebar, read the Auto-update status line before anything else, then click Update to version 7.1.5. The status line on our 7.1.4 site said it was kept up to date with each new version of WordPress, which means major updates were on. The next section explains why that matters.

- 1Updates
- 2Auto-update status
- 3Update to version 7.1.5
The site goes into maintenance mode while the files are replaced, then lands on the About screen, where Maintenance and Security Releases now lists the new build at the top.

Go back to Updates to confirm. The screen should say you have the latest version, with no update button left on the page.

On a site with DISALLOW_FILE_MODS set, there is no update screen to act on, and when the web server user cannot write to the docroot, WordPress asks for FTP or SSH credentials after the click. Both are deliberate on hardened hosts, and both mean the patch should come from WP-CLI or your deploy pipeline instead.
Automatic updates that stay on your branch
Minor auto-updates are how most WordPress sites will get this release without anyone logging in, so confirm they’re on. The control is the WP_AUTO_UPDATE_CORE constant in wp-config.php, and two other constants can switch automatic updates off entirely. On our 6.9.11 site none of them was set:
sudo -u www-data wp config get WP_AUTO_UPDATE_CORE --path="${WP_PATH}"
sudo -u www-data wp config has AUTOMATIC_UPDATER_DISABLED --path="${WP_PATH}"; echo $?
sudo -u www-data wp config has DISALLOW_FILE_MODS --path="${WP_PATH}"; echo $?
The first command returned Error: The constant or variable 'WP_AUTO_UPDATE_CORE' is not defined in the 'wp-config.php' file. and both has checks exited with 1, meaning not defined. These checks only read wp-config.php; a plugin can still switch updates off through the automatic_updater_disabled or auto_update_core filters, so grep wp-content for those names too. That looks safe, and it is, but it surprised us. When we ran the version check cron on that fresh 6.9.11 install, it didn’t stop at 6.9.12. It went straight to 7.1.5, because a new install defaults to major core auto-updates, the same setting the dashboard showed as “kept up to date with each new version”.
A surprise branch jump on a production site, with plugins nobody tested against 7.1, is its own outage. We rebuilt the 6.9.11 site and set the constant to minor before the cron ran. This time it stopped at 6.9.12 and left the major jump for a human to schedule:
sudo -u www-data wp config set WP_AUTO_UPDATE_CORE minor --path="${WP_PATH}"
sudo -u www-data wp cron event run wp_version_check --path="${WP_PATH}"
The sendmail: not found line in the capture is the update notice email failing on a lab VM with no mail server. On a real host that email is your record that the update ran, so make sure it can be sent.

Auto-updates also depend on WP-Cron firing. A site with DISABLE_WP_CRON set and no system cron job calling wp cron event run --due-now never checks for updates at all, whatever the constant says. Our lab sites had WP-Cron disabled, which is why we triggered the check by hand.
Stopgaps for a site that can’t update today
Nothing below replaces the update. These controls shrink what an attacker can reach while you wait for a change window, a vendor-locked host or a plugin fix. Each row names what it closes and what it leaves open, so you can see the gap that remains.
| Control | Closes | Leaves open |
|---|---|---|
Deny /xmlrpc.php at nginx or the WAF | GHSA-56j2 pingback flood, GHSA-p9x8 wp.getComments leak | Every REST, editor and comment issue; breaks any client or plugin that still talks XML-RPC |
| Hold every comment for moderation | GHSA-cr2m stays off public pages until someone approves the comment | Comments you approve; remove Comments and Latest Comments blocks from post content for full cover |
| Turn off Openverse in the block editor | GHSA-jmhp | Every other editor issue |
| Audit Contributor, Author and Editor accounts | The logged-in paths of GHSA-pmp8, h24f, 86p8, g2r4, jq8m and qq5q | The unauthenticated link path of GHSA-pmp8 and GHSA-gm52 |
| Users who can edit posts or upload files do not open editor or media links they did not create | The crafted link paths of GHSA-pmp8 and GHSA-gm52 | Depends on people; treat it as a reminder, not a control |
| WAF virtual patch from your vendor | Whatever rules your vendor actually shipped for these GHSA IDs | Anything that reaches the origin directly; we did not test any vendor ruleset |
| Allow only the CDN or WAF ranges to reach port 443 | Requests that bypass the WAF by hitting the origin IP | Attacks that come through the CDN itself |
The last row is what makes a WAF rule worth having. If the origin answers on its public IP, an attacker skips the edge entirely. On a firewalld host, rich rules that accept 443 only from your CDN’s published ranges close that path, and the firewalld cheat sheet on zones, ports and rich rules covers the syntax for Rocky Linux and Ubuntu. For Cloudflare custom rules that block a path at the edge, our PHP2Shell mitigation guide walks through the same pattern.
Blocking XML-RPC in nginx
First check that the endpoint is live and offering the methods the advisories name. Asking it for its method list is harmless and needs no login:
curl -s -X POST -H 'Content-Type: text/xml' --data '<?xml version="1.0"?><methodCall><methodName>system.listMethods</methodName></methodCall>' https://example.com/xmlrpc.php | grep -oE 'pingback\.[a-zA-Z]+|system\.multicall|wp\.getComments'
On our 7.1.4 site it returned all three of the methods that matter here:
system.multicallis listed, so one request can batch many calls.pingback.pingis listed, and it needs no login.wp.getCommentsis listed, and a Subscriber login is enough to call it.
The xmlrpc_enabled filter that many hardening plugins use only switches off methods that need a login, so pingbacks keep working behind it. Block the file in the web server instead:
echo 'location = /xmlrpc.php { deny all; access_log off; log_not_found off; }' | sudo tee /etc/nginx/snippets/block-xmlrpc.conf
Include the snippet inside the site’s server block. Open the vhost file:
sudo vim /etc/nginx/sites-available/example.com
Add this line under the index directive, then save:
include snippets/block-xmlrpc.conf;
Test the syntax, reload, and prove the block holds with a POST to the endpoint:
sudo nginx -t && sudo systemctl reload nginx
curl -s -o /dev/null -w '%{http_code}\n' -X POST https://example.com/xmlrpc.php
Our first curl, sent straight after the reload, still got 200 from an old worker. The second one got 403. Always check twice before you call it done, and check from outside the server too, because a CDN can cache or route the request differently.

Pair the block with Fail2ban on Ubuntu 26.04 if the access log keeps filling with denied XML-RPC requests from the same addresses. If nginx itself is behind on patches, the nginx CVE-2026-93479 check covers that side of the stack.
Holding comments for moderation
The comment XSS only renders when the comment is published. In Settings > Discussion, tick Comment must be manually approved and save. The box below it, which lets a commenter through once they have one approved comment, was already ticked on our install, and that’s the gap: a returning commenter skips the queue unless manual approval is on.

Don’t approve anything in the queue that contains square-bracket shortcode syntax until the site is patched. Approving it puts the payload on the page, which is exactly what the setting is there to prevent.
Turning off Openverse in the editor
The Openverse issue needs an editor user to search Openverse and insert an image, so removing the media category from the inserter closes it. A must-use plugin does that in one line and cannot be deactivated from the dashboard:
sudo mkdir -p "${WP_PATH}/wp-content/mu-plugins"
echo '<?php add_filter( "block_editor_settings_all", function ( $s ) { $s["enableOpenverseMediaCategory"] = false; return $s; } );' | sudo tee "${WP_PATH}/wp-content/mu-plugins/disable-openverse.php"
sudo chown -R www-data: "${WP_PATH}/wp-content/mu-plugins"
php -l "${WP_PATH}/wp-content/mu-plugins/disable-openverse.php"
php -l returned No syntax errors detected, and the block editor on our patched site then reported enableOpenverseMediaCategory as false. Keep the file after you patch if nobody on the site uses Openverse; it’s one less third-party feed rendering into your editor.
Post-patch audit checklist
Run this on every site once the update is in, and keep the output with your change record. A site that fails any line is not done. The same checks apply to the sites in our WordPress on Ubuntu 26.04 build, and they carry over from the earlier CVE-2026-87902 patch.
wp core versionreports the fixed build for the site’s branch from the table above.wp core verify-checksumsends inSuccesswith no warnings outside the truncated php-ai-client names, which you then removed.wp config get WP_AUTO_UPDATE_COREreturnsminor, ortrueon a site where someone owns the risk of major jumps.- WP-Cron fires, either from traffic or from a system cron job, and the update notice email reaches a monitored inbox.
- A POST to
/xmlrpc.phpreturns 403 from outside the network, unless a named client still needs XML-RPC. - The user list holds no Contributor, Author or Editor account that nobody can vouch for.
- The origin accepts port 443 only from the CDN or WAF ranges when a WAF sits in front of it.
The stopgaps can stay once the patch is in. Moderation, a closed XML-RPC endpoint and a locked-down origin each close a class of bug, not just this month’s, and the next WordPress security release will find a smaller surface to land on.