A newly discovered pre-authentication reflected cross-site scripting (XSS) vulnerability has been identified in the login screen of WordPress, affecting all versions of the content management system. This high-severity flaw, tracked as CVE-2026-64638 with a CVSS score of 8.9, requires no prior attacker privileges and can, under specific additional conditions, be chained to achieve PHP code execution on the server. Users are advised to patch their installations immediately.
The core mechanism of this vulnerability is a reflected XSS, meaning that malicious script supplied in a request is reflected back in the response, executing within the user's browser context. In this pre-authentication scenario, an attacker could craft a malicious URL that, when visited by a legitimate user attempting to log in, would execute arbitrary JavaScript in their browser. This initial compromise occurs before any authentication takes place, making it particularly dangerous.
The critical escalation path involves chaining this XSS into PHP code execution. While the summary does not detail the exact method, XSS vulnerabilities can often be leveraged to steal session cookies, manipulate the DOM, or perform actions on behalf of the logged-in user. If an administrator or another privileged user were to fall victim to the XSS, the attacker could potentially use the injected script to perform actions like uploading malicious plugins or themes, modifying existing files, or directly executing PHP functions through the compromised session. This would grant the attacker full control over the affected WordPress instance.
The vulnerability's impact is significant due to its pre-authentication nature and the widespread use of WordPress. As it affects "every version" of the CMS, the potential attack surface is vast. WordPress powers a substantial portion of the internet's websites, making this a critical concern for a broad user base, from small blogs to large enterprise sites.
Mitigation for this class of vulnerability typically involves prompt application of vendor-supplied patches. For XSS specifically, robust input validation and output encoding are fundamental security practices. In the context of a login screen, this means carefully sanitizing any user-supplied data before it is rendered back to the browser. Web Application Firewalls (WAFs) can also provide an additional layer of defense by detecting and blocking malicious XSS payloads, though they should not be considered a substitute for patching the underlying vulnerability.
The reporting entity, pwn.ai, has highlighted the urgency of this fix. The rapid patching of such a fundamental vulnerability underscores the ongoing arms race between attackers and defenders in the web application security landscape. Pre-authentication flaws, especially those with potential for remote code execution, are among the most critical vulnerabilities due to their low barrier to entry for attackers and high potential impact on affected systems.






