Skip to main content
Mallory
← Back to News
widely-deployed-product-advisoryinternet-facing-service-vulnerabilityendpoint-security-bypass

WordPress patches pre-auth login XSS that can be chained to PHP code execution

Patch & Detection Intelligence · 19 sources · Updated 3mo ago · First seen Aug 6, 2026

WordPress patches pre-auth login XSS that can be chained to PHP code execution

WordPress has released 7.0.3 as a security update to fix multiple vulnerabilities, led by a high-severity pre-authentication reflected XSS flaw in the login screen tracked as CVE-2026-64638 and GHSA-52p2-r8wf-jcrf. The issue affects all WordPress versions and is being backported through the supported 4.7 security branch, while 7.1 RC2 also includes the fixes. WordPress said site owners should update immediately; versions older than 4.7 remain affected and are outside the current backport range.

Patch this, or something else?See real exploitation activity before you spend the cycle.
Triage this advisory
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

8 events · Jul 27, 2026 – Aug 10, 2026
  1. Aug 10, 20263mo ago

    Canadian Centre issues AV26-792 on exploited WordPress flaw

    On August 10, the Canadian Centre for Cyber Security published advisory AV26-792 warning that WordPress versions prior to 7.0.3 are affected by CVE-2026-64638. The advisory said open-source reporting indicated the vulnerability was being exploited in the wild as of August 7 and urged administrators to review WordPress guidance and apply updates.

    WordPress security advisory (AV26-792) - Malware News - Malware Analysis, News and Indicators
  2. Reported Aug 7, 20263mo ago

    pwn.ai details XSS-to-PHP code execution chain for CVE-2026-64638

    pwn.ai reported that the login-screen XSS could be chained into server-side PHP code execution under additional conditions, including a logged-in administrator and social engineering. The researchers described multiple escalation paths, including plugin installation and arbitrary ZIP upload, using DOM injection, same-origin REST requests, and JSONP-based script execution.

    New WordPress Pre-Auth XSS Could Lead to PHP Code Execution - Patch ASAP
  3. Aug 7, 20263mo ago

    Nuclei template published for detecting CVE-2026-64638

    A ProjectDiscovery Nuclei template was published for CVE-2026-64638 to detect the pre-authentication reflected XSS in WordPress Core versions before 7.0.3 via crafted POST requests to /wp-login.php. The accompanying material described a Docker-based proof of concept and reported successful detection against a local test instance, with the issue also said to have been validated against live targets.

    Add CVE-2026-64638: WordPress Core < 7.0.3 Preauth XSS (XSS2Shell) by Nivid42 · Pull Request #16785 · projectdiscovery/nuclei-templates · GitHub
  4. Aug 7, 20263mo ago

    WordPress says no evidence of in-the-wild exploitation as of August 7

    As of August 7, WordPress said it had no evidence that CVE-2026-64638 had been exploited in the wild. The company also noted that the demonstrated RCE path depends on successful social engineering and conditions outside the attacker's control.

    New WordPress Pre-Auth XSS Could Lead to PHP Code Execution - Patch ASAP
  5. Reported Aug 6, 20263mo ago

    WordPress backports 7.0.3 security fixes through the 4.7 branch

    WordPress said the security fixes in 7.0.3 were being backported where necessary to all supported branches eligible for security fixes, currently through version 4.7. Versions older than 4.7 remain affected and are outside the current backport range.

    WordPress 7.0.3 release - WordPress News
  6. Reported Aug 6, 20263mo ago

    pwn.ai responsibly disclosed WordPress login XSS to WordPress

    Researchers at pwn.ai discovered a pre-authentication reflected XSS flaw in the WordPress login screen and responsibly disclosed it to WordPress. The issue was later tracked as CVE-2026-64638.

    WordPress 7.0.3 release - WordPress News
  7. Aug 6, 20263mo ago

    WordPress releases 7.0.3 security update fixing multiple flaws

    On August 6, WordPress released version 7.0.3 as a security update and urged site owners to update immediately. The release fixed multiple vulnerabilities, including the pre-auth login-screen XSS tracked as CVE-2026-64638, several stored XSS issues, a multisite privilege escalation bug, an SSRF flaw, and information disclosure weaknesses.

    WordPress 7.0.3 release - WordPress News
  8. Jul 27, 20264mo ago

    WordPress acknowledges XSS2Shell report from pwn.ai

    pwn.ai reported the full XSS2Shell exploitation chain for CVE-2026-64638 to WordPress with proof of exploitation, and WordPress acknowledged the report the same day. The acknowledgment preceded the 7.0.3 security release and later public disclosure.

    XSS2Shell : chaîne XSS pré-auth vers RCE sur WordPress Core (CVE-2026-64638) | CyberVeille
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

Open in app →

Vulnerabilities

1 linked

Affected products

1 linked
Wordpress

Organizations

2 linked
WordpressWordPress Foundation
Do you run this?See real exploitation activity behind this advisory so you can triage it against everything else in the queue.
Prioritize This Patch
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.