WPDeeply
Download free plugin
WordPress Insights

WordPress Core 7.1.5 – Security Release Fixes Unauthenticated Privilege Escalation to RCE

WordPress 7.1.5 fixes 20 security issues, including an unauthenticated Template Part privilege-escalation path that could lead to remote code execution, SQL injection, stored XSS, information disclosure, and denial of service.

WPDeeply editorial analysis graphic for WordPress Updates from Core and Security: How to Read Patch Signals

WordPress released version 7.1.5 on November 18, 2026, with fixes for 20 security issues. The most serious item is an unauthenticated privilege-escalation flaw in Template Part block attributes that WordPress says could lead to remote code execution. The release also fixes SQL injection, stored and reflected cross-site scripting, information disclosure, authorization bypass, multisite privilege escalation, and denial-of-service issues.

At a glance

ProductWordPress Core
Affected versionsWordPress 7.1.4 and earlier supported branches, with the exact number of applicable fixes varying by branch
Primary riskUnauthenticated privilege escalation through Template Part block attributes, potentially leading to remote code execution
Other attack classesSQL injection, stored/reflected XSS, information disclosure, authorization bypass, multisite privilege escalation, and XML-RPC denial of service
Fixed versionWordPress 7.1.5, or the corresponding patched release for an older branch
CVE identifiersNot listed in the official release announcement at publication time
Active exploitationNo claim of in-the-wild exploitation was made in the official release announcement

What was fixed

The official advisory lists 20 fixes. High-impact items include unauthenticated privilege escalation through Template Part block attributes with a possible RCE outcome, two SQL-injection paths, unauthenticated stored XSS through shortcode attributes in comments, private taxonomy-term exposure through REST search, multisite Administrator-to-Super-Admin takeover through Customizer menu previews, and denial of service through batched XML-RPC pingbacks.

Several findings require an authenticated role such as Subscriber, Author, Contributor, Editor, or Administrator. Others are reachable without authentication. Exploitability depends on site configuration and whether the affected feature, endpoint, block, Customizer workflow, comments, or XML-RPC surface is available.

Patched branches

  • 7.1: update to 7.1.5
  • 7.0: update to 7.0.9
  • 6.9: update to 6.9.12
  • 6.8: update to 6.8.13
  • 6.7: update to 6.7.12
  • 6.6: update to 6.6.12
  • 6.5: update to 6.5.15
  • 6.4: update to 6.4.15
  • 6.3: update to 6.3.15
  • 6.2: update to 6.2.16
  • 6.1: update to 6.1.17
  • 6.0: update to 6.0.19
  • 5.9: update to 5.9.21
  • 5.8: update to 5.8.20
  • 5.7: update to 5.7.22
  • 5.6: update to 5.6.24
  • 5.5: update to 5.5.25
  • 5.4: update to 5.4.26
  • 5.3: update to 5.3.28
  • 5.2: update to 5.2.31
  • 5.1: update to 5.1.29
  • 5.0: update to 5.0.32
  • 4.9: update to 4.9.36
  • 4.8: update to 4.8.35
  • 4.7: update to 4.7.40

WordPress 4.6 and earlier no longer receive security updates. Sites on those branches should migrate to a supported release rather than treating a WAF rule as a permanent substitute for patching.

Immediate remediation

  1. Take a restorable backup and confirm that the host supports the target PHP and database versions.
  2. Update WordPress Core to 7.1.5 or the patched release for the installed branch.
  3. Clear page, object, opcode, and CDN caches after the update.
  4. Verify core checksums and review Administrator and Super Admin membership.
  5. Inspect recently modified plugin, theme, mu-plugin, and upload files. Pay special attention to unexpected PHP files or newly created administrator accounts.
  6. If compromise is suspected, rotate WordPress salts, administrator passwords, application passwords, hosting credentials, database credentials, and API keys after restoring trusted code.

Verification commands

wp core version --extra
wp core verify-checksums
wp user list --role=administrator --fields=ID,user_login,user_email,user_registered
wp super-admin list
wp plugin list --status=must-use
wp core update-db

On multisite, compare the Super Admin list with a known-good administrative inventory. On all sites, review web-server and security logs around requests to REST endpoints, XML-RPC, comment submission, Customizer previews, and block-rendering routes. A successful version check alone does not prove that a previously exposed site was not compromised.

Sources

WPdeeply

WPDeeply is the site's editorial account for WordPress security advisories, plugin risk research, and remediation guides. Articles under this byline are checked against vendor changelogs, CVE records, vulnerability database entries, and the WPDeeply editorial policy before publication.