New WordPress Pre-Auth XSS (CVE-2026-64638) Could Lead to RCE: Have you patched your instances yet?
CVE-2026-64638 is a high-severity pre-authentication reflected cross-site scripting (XSS) vulnerability in WordPress login pages that can lead to remote code execution (RCE) under specific conditions. The flaw allows attacker-controlled JavaScript to execute in the browser of a visitor after a failed login attempt. Exploitation requires a logged-in administrator to interact with an attacker-controlled page, potentially enabling PHP code execution on the server. The vulnerability affects default WordPress installations and was patched in WordPress 7.0.3 and backported to versions back through 4.7. Versions older than 4.7 remain vulnerable. WordPress recommends immediate updating, and automatic background updates should apply the patch automatically. No in-the-wild exploitation has been reported as of the advisory date.
AI Analysis
Technical Summary
CVE-2026-64638 is a reflected XSS vulnerability on the WordPress login page that requires no authentication to trigger the initial script execution. The vulnerability arises from inconsistent sanitization of the username parameter on failed login attempts, allowing attacker-controlled HTML elements to be injected into the DOM. This injected content interacts with WordPress's user-profile.js script, enabling an attacker to hijack same-origin REST requests and execute JavaScript in the site's origin. Researchers demonstrated multiple attack chains from this XSS to PHP code execution, including creating Application Password credentials and uploading malicious plugins without needing to activate them. The vulnerability was responsibly disclosed and patched in WordPress 7.0.3, with backports to versions 4.7 and later. Exploitation requires social engineering to get an administrator to click a malicious link while logged in. The flaw does not require unusual hosting configurations and affects default installations.
Potential Impact
Successful exploitation could allow an attacker to execute arbitrary PHP code on the WordPress server with the privileges of the PHP worker. This could lead to exposure of database credentials, creation of persistent administrator accounts, modification of site content, and execution of operating system commands. The initial XSS requires no privileges but escalation to remote code execution requires a logged-in administrator's interaction with attacker-controlled content. No active exploitation in the wild has been reported as of the advisory date.
Mitigation Recommendations
A security update fixing this vulnerability was released on August 6, 2026, in WordPress version 7.0.3 and backported to all supported versions back to 4.7. WordPress recommends immediate updating to these patched versions. Sites using automatic background updates should receive the patch automatically. Versions older than 4.7 are not supported with backports and remain vulnerable. Known WordPress hardening measures do not fully mitigate this issue, so applying the official security update is required.
New WordPress Pre-Auth XSS (CVE-2026-64638) Could Lead to RCE: Have you patched your instances yet?
Description
CVE-2026-64638 is a high-severity pre-authentication reflected cross-site scripting (XSS) vulnerability in WordPress login pages that can lead to remote code execution (RCE) under specific conditions. The flaw allows attacker-controlled JavaScript to execute in the browser of a visitor after a failed login attempt. Exploitation requires a logged-in administrator to interact with an attacker-controlled page, potentially enabling PHP code execution on the server. The vulnerability affects default WordPress installations and was patched in WordPress 7.0.3 and backported to versions back through 4.7. Versions older than 4.7 remain vulnerable. WordPress recommends immediate updating, and automatic background updates should apply the patch automatically. No in-the-wild exploitation has been reported as of the advisory date.
Reddit Discussion
Hi everyone,
A high-severity security issue was recently fixed in WordPress 7.0.3 (and backported to older versions). The vulnerability, tracked as CVE-2026-64638, is a pre-authentication reflected XSS flaw on the login page, discovered by the team at pwn.ai. Under specific conditions, if an administrator clicks a malicious link, it could potentially lead to PHP code execution.
Given how widely WordPress is used across enterprise environments, this is definitely something sysadmins and security teams should keep on their radar.
Source / Read more here:https://thehackernews.com/2026/08/new-wordpress-pre-auth-xss-could-lead.html
Are you relying on automatic background updates for this, or manually patching across your environments? How are your WAFs handling login page traffic?
Links cited in this discussion
Affected software
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-64638 is a reflected XSS vulnerability on the WordPress login page that requires no authentication to trigger the initial script execution. The vulnerability arises from inconsistent sanitization of the username parameter on failed login attempts, allowing attacker-controlled HTML elements to be injected into the DOM. This injected content interacts with WordPress's user-profile.js script, enabling an attacker to hijack same-origin REST requests and execute JavaScript in the site's origin. Researchers demonstrated multiple attack chains from this XSS to PHP code execution, including creating Application Password credentials and uploading malicious plugins without needing to activate them. The vulnerability was responsibly disclosed and patched in WordPress 7.0.3, with backports to versions 4.7 and later. Exploitation requires social engineering to get an administrator to click a malicious link while logged in. The flaw does not require unusual hosting configurations and affects default installations.
Potential Impact
Successful exploitation could allow an attacker to execute arbitrary PHP code on the WordPress server with the privileges of the PHP worker. This could lead to exposure of database credentials, creation of persistent administrator accounts, modification of site content, and execution of operating system commands. The initial XSS requires no privileges but escalation to remote code execution requires a logged-in administrator's interaction with attacker-controlled content. No active exploitation in the wild has been reported as of the advisory date.
Mitigation Recommendations
A security update fixing this vulnerability was released on August 6, 2026, in WordPress version 7.0.3 and backported to all supported versions back to 4.7. WordPress recommends immediate updating to these patched versions. Sites using automatic background updates should receive the patch automatically. Versions older than 4.7 are not supported with backports and remain vulnerable. Known WordPress hardening measures do not fully mitigate this issue, so applying the official security update is required.
Technical Details
- Source Type
- Subreddit
- cybersecurity
- Reddit Score
- 0
- Discussion Level
- minimal
- Content Source
- reddit_link_post
- Post Type
- link
- Domain
- null
- Newsworthiness Assessment
- {"score":51,"reasons":["external_link","newsworthy_keywords:cve-,rce,patch","security_identifier","established_author","very_recent"],"isNewsworthy":true,"foundNewsworthy":["cve-","rce","patch"],"foundNonNewsworthy":[]}
- Has External Source
- true
- Trusted Domain
- false
Threat ID: 6a75eafbbf8831d5396fc6de
Added to database: 08/07/2026, 14:26:03 UTC
Last enriched: 08/07/2026, 14:26:14 UTC
Last updated: 08/08/2026, 03:11:05 UTC
Views: 26
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.