Published on 7 August 2026
A single failed login attempt – that's all an attacker needs to lay the first building block for a complete takeover of your server. What sounds harmless at first turns out to be one of the most serious WordPress vulnerabilities of the year: on 6 August 2026, WordPress released version 7.0.3, a pure security update that closes twelve vulnerabilities at once. The most dangerous of these carries the identifier CVE-2026-64638 and reaches a CVSS score of 8.9 (High) – on a scale up to 10. Practically all WordPress installations since version 4.7 are affected, roughly half a billion websites worldwide.
For the nearly 1.92 million WordPress sites in Germany, this means: urgent action is required. Because under certain conditions, the flaw can be escalated from a seemingly simple cross-site scripting weakness (that is, the injection of foreign script code into a website) to a full Remote Code Execution (RCE) – meaning the execution of arbitrary program code directly on your web server.
The vulnerability was discovered by the AI pentesting company pwn.ai, which reproduced the flaw on 26 July 2026 and responsibly reported it to WordPress a day later – including full proof that it could be used to execute PHP code on the server. The WordPress team confirmed the risk and released the update on 6 August. On 7 August, the coordinated public disclosure followed, along with a GitHub Security Advisory (GHSA-52p2-r8wf-jcrf).
The core flaw, CVE-2026-64638, is a so-called Pre-Authentication Reflected XSS. In plain terms: the attacker needs no user account and does not have to log in to trigger the flaw at all. It sits directly in the login screen (the file wp-login.php), which every WordPress site makes publicly accessible by default.
"CVE-2026-64638 is fully pre-authenticated exploitable (no account needed). A single failed login attempt is enough to execute attacker JavaScript in the WordPress origin – and against a logged-in administrator all the way to full Remote Code Execution on the server, reliably on all standard WordPress installations." – pwn.ai (pwn.ai/blog/xss2shell)
The cause is a so-called parser discrepancy, that is, a difference in interpretation between two WordPress functions that are both actually supposed to filter out dangerous HTML code:
wp_strip_all_tags() ignores HTML tags where there is a space after the opening bracket – and lets them through.wp_kses_post(), on the other hand, interprets exactly the same constructs as valid tags.This contradiction makes it possible to sneak malicious elements past the filtering into the error page that WordPress displays after a failed login. So far, so inconspicuous. The actual damage only occurs in the second step – the "XSS2Shell" attack chain dubbed by pwn.ai:
user-profile.js. Using a technique called DOM clobbering, the JavaScript variable ajaxurl is overwritten.Important for context: this is a reflected XSS, not a stored one. That makes a considerable difference.
"While this is definitely a vulnerability worth watching, one should be precise about what 'potential PHP code execution' actually requires. Reflected XSS is only triggered in the browser of whoever clicks the crafted link; it does not spread by itself the way stored XSS does. That makes this a targeted attack, not a drive-by." – Chazz Wolcott, Security Researcher at Patchstack
The WordPress Security Team likewise emphasises the necessary user interaction:
"Via a specially crafted malicious third-party website hosted by an attacker, this can be escalated to an RCE vulnerability under conditions outside the attacker's control. This requires successful social engineering and explicit interaction from the targeted victim." – WordPress Security Team (GitHub Security Advisory)
But that is only half a reassurance: the entry vector itself works without any login, and social engineering of administrators is in practice anything but hopeless.
In short: almost everyone. Affected are all WordPress versions up to and including 7.0.2, with the flaw tracing back to version 4.7. WordPress has therefore not only built the fix into 7.0.3 but also backported it to older version branches (such as 6.9.6, 6.8.7 and other branches). Anyone deliberately running an older major version will therefore also receive a matching security update.
Particularly at risk are small and medium-sized enterprises without a dedicated IT security team – above all when automatic updates have been disabled on heavily customised websites in order to avoid compatibility problems with themes or plugins.
wp core version.Act promptly. The facts make clear why: according to Patchstack, the median time from the publication of a vulnerability to mass exploitation is now only five hours. At the time of publication, no active exploitation in the wild was known – however, a proof-of-concept (that is, a working demonstration exploit) is already publicly available.
define('DISALLOW_FILE_EDIT', true); to your wp-config.php. This makes it harder to inject code via the backend.An important note on the WAF: it is a sensible additional layer of protection, but no substitute for the update. According to Patchstack, standard WAFs block only 26 percent of WordPress-specific attacks on average. The patch itself remains the most important measure.
Why is this flaw more than a technical detail? Because a successful XSS2Shell chain gives the attacker full control over the web server. This grants them access to the database – including the wp-config.php – and thus to all stored personal data of customers, users or employees.
This has immediate data protection consequences. Under Art. 33 GDPR, such a data breach must be reported to the competent supervisory authority without undue delay, and at the latest within 72 hours of becoming aware of it. If there is a high risk to the rights and freedoms of those affected, the obligation to inform the affected individuals under Art. 34 GDPR additionally applies.
Crucial for SMEs: responsibility under data protection law pursuant to Art. 32 GDPR (appropriate technical and organisational measures) lies with the website operator – even when the technical maintenance has been outsourced to an agency. A missed security update can be assessed as an inadequate technical and organisational measure and result in substantial fines.
The threat situation is further exacerbated by the role of artificial intelligence in security research. In 2025, 11,334 new vulnerabilities were found in the WordPress ecosystem – an increase of 42 percent over the previous year. In July 2026, WordPress recorded a record figure of 450 bug bounty reports, where there had previously been only around 20 to 30 per month.
"We are deep into a completely new era of AI-assisted security research." – John Blackbourn, WordPress Security Team Rep
These tools are open to both sides – to defenders as well as to attackers. That is precisely what explains the dramatically shortened time to exploitation.
CVE-2026-64638 is no reason to panic, but a very good reason to act immediately. The complete takeover of the server does require active interaction from a logged-in administrator – but the initial attack runs entirely without a login, a proof-of-concept is public, and the time to widespread exploitation is getting ever shorter.
The good news: protection is easy to implement. A prompt update to WordPress 7.0.3 (or the patched version of your branch), a current backup, trained administrators and an active WAF strip this threat of most of its impact. Check your WordPress version today – and if you are unsure whether your site is properly secured, seek professional support before those five hours of lead time run out.
Sources: The Hacker News, WordPress.org Release Notes, pwn.ai Technical Blog, GitHub Security Advisory (GHSA-52p2-r8wf-jcrf), Patchstack Analysis, The Repository, Patchstack Whitepaper 2026, Barn2 Market Share Report.