WordPress Login Page Exposed to Critical XSS2Shell Flaw CVE-2026-64638: Over 11,000 Sites Attacked Across 67 Countries

WordPress core login page vulnerability CVE-2026-64638 enables unauthenticated attackers to trigger reflected XSS that can escalate to full server compromise. The flaw stems from mismatched HTML sanitization between two filtering layers on the wp-login.php page, allowing malicious payloads to execute in the site origin. Imperva observed automated campaigns hitting more than 11,000 sites with hundreds of thousands of requests, predominantly affecting U.S. targets in gaming, education, and finance sectors. Successful exploitation chains the XSS into WordPress REST API and application password creation when an administrator is logged in, ultimately allowing malicious plugin uploads. Official patches are available in WordPress 7.0.3 and backported releases down to 4.7; administrators are urged to verify versions, audit user accounts, and inspect plugin directories immediately.

安全客Translated from Chinese

Read at source

WordPress core login page has been hit by a high-severity reflected XSS vulnerability tracked as CVE-2026-64638, dubbed XSS2Shell by researchers. The issue affects every supported version and requires no credentials to trigger, enabling attackers to execute JavaScript in the site origin and potentially seize full server control.

At 2 a.m., a cross-border e-commerce operator was awakened by monitoring alerts after an unknown administrator account appeared on his three-year-old WordPress site alongside an unrecognized plugin file. Despite using a 16-character random password and IP whitelisting, the attacker had bypassed all defenses through the daily login page itself.

Vulnerability Mechanics

On August 6, WordPress released version 7.0.3 containing the fix for CVE-2026-64638 (CVSS 8.9). The root cause lies in inconsistent HTML filtering on the login form: when a nonexistent username is submitted, the entered value is reflected in the error message. One sanitization pass treats a crafted tag as cleaned, while the second pass renders it as executable HTML, allowing the payload to persist and run.

Imperva telemetry shows organized automated attacks targeting more than 11,000 sites across 67 countries, generating hundreds of thousands of requests. 95 percent of observed tooling is written in Go; 75 percent of victims are U.S.-based, with gaming (32 percent), education (26 percent), and finance (24 percent) sectors hit hardest.

Attack Chain: From XSS to Shell

The exploit begins with a crafted username that triggers the reflected XSS. Once JavaScript executes under the site origin, the attacker leverages loaded WordPress scripts and the REST API to interact with the application. If an administrator session is active, the attacker can obtain an application password, create a malicious page, and upload a PHP backdoor plugin, completing server takeover.

Researchers note that the full chain benefits from social engineering, such as phishing emails disguised as official security notices. The attack path was assembled in roughly four days using open-source AI models and multi-agent workflows, highlighting the accelerating role of AI in exploit development.

Self-Check Steps for Administrators

  • Verify version: Check the footer in the dashboard; upgrade 7.0.x to 7.0.3 and apply backports (6.9.6, 6.8.7, 6.7.6) down to the 4.7 branch.
  • Audit accounts: Review the user list for unknown administrators and inspect Application Passwords for unauthorized entries.
  • Inspect files: Examine the wp-content/plugins directory for unexpected additions and monitor file modification timestamps.

Organizations using Cloudflare or other WAF solutions should confirm that virtual patching rules for CVE-2026-64638 are active. The advisory reference is GHSA-52p2-r8wf-jcrf.

Meridian digestThe week's most consequential security stories, distilled into one briefing.See the digest

More in Vulnerabilities & Exploits

Telegram for Android Patches Voice Call Vulnerability Enabling Code Execution
Yandex Patches Millions of Stations After eMudhra Certificate Keys Compromised
Cisco ASA and FTD Face DoS Vulnerability in SSL VPN Already Exploited in the Wild