WordPress Patches High-Severity XSS2Shell Flaw Enabling Remote Code Execution (CVE-2026-64638)

WordPress has released a fix for a high-severity vulnerability in its core that can turn a malicious login attempt into remote PHP code execution on the server. The flaw, tracked as CVE-2026-64638 and rated 8.9 on CVSS, is named XSS2Shell and begins as a reflected cross-site scripting issue on the authentication screen. An unauthenticated attacker can submit a specially crafted username that bypasses sanitization mechanisms due to differences in how PHP and WordPress interpret certain characters, allowing controlled HTML elements to be injected into the login page. This leads to JavaScript execution in the site domain, and when an authenticated administrator visits a prepared page, the attacker can abuse the existing session to authorize application credentials and upload arbitrary PHP code. The patch is included in WordPress 7.0.3 released on August 6, with backports available for branches as old as 4.7. No public exploitation has been confirmed yet, but the technical details make immediate updating a priority for site administrators.

BoletimSecTranslated from Portuguese

Read at source

WordPress has corrected a high-severity vulnerability in its core that can transform a simple malicious login attempt into remote PHP code execution on the server.

The issue, registered as CVE-2026-64638 and assigned a CVSS score of 8.9, has been named XSS2Shell. It originates as a reflected cross-site scripting flaw on the authentication screen. An attacker without an account can submit a specially prepared username that evades sanitization filters and is interpreted as HTML content by the browser.

The exploit chain relies on a difference in how certain PHP functions and WordPress itself handle specific characters. This allows the attacker to insert controlled elements into the login page and progress to JavaScript execution within the site domain.

The impact escalates when an already authenticated administrator visits a page prepared by the attacker. In this scenario, the technique can abuse the existing session to authorize application credentials and proceed to uploading malicious PHP code to the server.

WordPress addressed the problem in version 7.0.3, released on August 6. Patches were also made available for earlier branches, extending back to the 4.7 line. At the time of disclosure, no confirmed exploitation in real-world attacks had been observed, although the availability of technical details makes the update a priority for site administrators.

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