Skip to content
Knowledge

/

WordPress

WordPress security

CVE-2026-64638 in WordPress. When can XSS lead to a server takeover?

CVE-2026-64638 lets an attack start without a user account. The bug alone doesn’t mean an immediate server takeover. The full chain requires interaction by a logged-in administrator, so the risk should be neither downplayed nor presented without context.

Last updated: 11 August 2026

Owner: Gotoweb technical team.

Author: Michał Madejski

Next step

First check the WordPress version, the state of automatic updates and the date of the last backup. If the fix can’t be deployed straight away, agree a safe work window and limit administrative access to the bare minimum.

01

What CVE-2026-64638 is about

The problem starts on the login screen. Two mechanisms responsible for sanitising HTML can interpret the same piece of data differently. Content treated as plain text at the first stage can later become an element of the page. A WordPress script loaded at login can interact with such an element. In the scenario described by the researchers, this leads to JavaScript running in the context of the site.

02

When a server takeover is possible

Starting the attack doesn’t require a WordPress account. The full chain does, however, have an additional condition. A logged-in administrator must interact with a prepared page or link. The researchers showed that privileges gained this way can allow the Application Passwords feature to be used, access to the administrative API and ultimately code execution on the server. It’s this condition that distinguishes the vulnerability from a simple, automatic takeover of every installation.

03

Which WordPress versions need attention

The fix was released on 6 August 2026 in WordPress 7.0.3. The WordPress project is also backporting it to maintained older branches, all the way back to the 4.7 line. Site owners should install the latest security release available for the branch they use. Versions older than 4.7 don’t receive this fix and need a plan to move to a supported version.

04

What to check right away

  1. Read the WordPress core version and check the automatic update history.
  2. Confirm that the backup covers the database, files, media and server configuration, and that it can be restored.
  3. Check active administrator accounts, recent logins and application passwords created.
  4. Review server, PHP and security logs for unusual login attempts and administrative actions.
  5. After deploying the fix, test login, forms, email sending, integrations, cache and key user journeys.

05

Does disabling Application Passwords solve the problem

Disabling this feature can limit one stage of the chain described, but doesn’t remove the original XSS vulnerability. It doesn’t replace updating core. It may be a sensible additional safeguard on a site that doesn’t use integrations based on application passwords, but the decision must be preceded by checking the external connections in use.

06

How to deploy the fix safely

First record the state of core, PHP, the database, the theme and the most important plugins. Make a restorable backup. If the site handles sales or important forms, do a trial run in a test environment. After the update, check the integrity of the core files and the most important business processes. For the next few hours, watch the logs, scheduled tasks, message queues and user reports.

07

Is the vulnerability being actively exploited

According to information available on 10 August 2026, no publicly confirmed cases of active exploitation of CVE-2026-64638 were known. That’s no reason to postpone the update, however. Once technical details are disclosed, the risk of further attempts being prepared increases. It’s worth checking the current status in the official WordPress announcement and the pwn.ai team’s report.

Not sure whether WordPress already has the right fix?

We’ll check the core version, the backup, environment compatibility and the site’s most important processes. You’ll get a clear scope of work, a deployment plan and acceptance criteria for a safe update.

Only 3 required fields · reply within 1 business day · no obligation