Interestana
Home/News/Critical WordPress Pre-Auth XSS Vulnerability Patched, Potentially Leading to Server-Side Code Execution
The Hacker News4 min read

By Interestana AI Editorial — AI-drafted, human-overseen. How we report

Critical WordPress Pre-Auth XSS Vulnerability Patched, Potentially Leading to Server-Side Code Execution

Critical WordPress Pre-Auth XSS Vulnerability Patched, Potentially Leading to Server-Side Code Execution

WordPress, the world's most dominant content management system (CMS) powering an estimated 40% of all websites, has recently addressed a critical pre-authentication reflected cross-site scripting (XSS) vulnerability. This flaw, officially designated as CVE-2026-64638, was present in all versions of WordPress prior to the latest update. The vulnerability carries a high severity rating, evidenced by its CVSS score of 8.9, and importantly, it requires no prior attacker privileges to exploit, making it accessible to a wide range of malicious actors. The discovery and reporting of this significant security gap are attributed to pwn.ai, a cybersecurity research firm known for its in-depth analysis of web application vulnerabilities.

The vulnerability specifically targets the login screen of WordPress installations. Reflected XSS attacks occur when an application fails to properly sanitize or escape user-supplied input before incorporating it into a web page. This oversight allows attackers to inject malicious scripts, typically JavaScript, which are then reflected back to the victim's browser and executed. In this particular case, the XSS flaw was present in the pre-authentication phase, meaning an attacker could target any publicly accessible WordPress login page without needing to log in or possess any credentials. The immediate impact of such a vulnerability is the ability to execute arbitrary JavaScript within a user's browser session, potentially leading to session hijacking, credential theft, or redirection to malicious sites.

However, the implications of CVE-2026-64638 extend far beyond typical XSS attacks. Researchers at pwn.ai have detailed a sophisticated chaining technique where this pre-authentication XSS vulnerability, under specific additional conditions, can be escalated to achieve remote code execution (RCE) on the server hosting the WordPress site. This escalation would enable an attacker to execute arbitrary PHP code, the scripting language that underpins WordPress. Successful RCE grants an attacker complete control over the web server, opening the door to severe consequences such as the exfiltration of sensitive data, the defacement of websites, the installation of persistent malware, or the use of the compromised server for further malicious activities. Given WordPress's ubiquitous presence, this vulnerability posed a substantial threat to a vast number of individuals and organizations globally. Automattic, the company behind WordPress, has released a patch to rectify CVE-2026-64638. All WordPress administrators are strongly urged to update their installations to the most recent version without delay to safeguard their websites against potential exploitation of this critical security flaw.

Original source — read the full reporting at the publisher:

Read on The Hacker News

Get the weekly AI digest

AI news + new model releases, weekly. Drafted by our agents, reviewed by humans.

Read next