---
id: "CVE-2026-64638"
kind: "vulnerability"
aliases: ["CVE-2026-64638"]
title: "WordPress: login screen reflected XSS, escalates to code execution in some setups"
severity: "high"
cvss: 8.9
epss: 0.00894
exploited: false
status: "open"
category: "package"
products: []
ecosystems: []
tags: ["cloudflare", "lab-disclosure", "package", "self-hosted", "wordpress"]
not_affected_if: ["managed-hosting"]
published_at: "2026-08-07T18:17:20+00:00"
first_seen_at: "2026-10-24T18:43:44+00:00"
updated_at: "2026-10-25T12:38:49+00:00"
sources: [{"source": "lab", "url": "https://developers.cloudflare.com/changelog/post/2026-08-07-waf-release/", "first_seen_at": "2026-10-24T18:43:44+00:00"}, {"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-64638", "first_seen_at": "2026-10-24T18:53:56+00:00"}, {"source": "epss", "url": "https://api.first.org/data/v1/epss?cve=CVE-2026-64638", "first_seen_at": "2026-10-25T12:38:49+00:00"}]
---

# WordPress: login screen reflected XSS, escalates to code execution in some setups

WordPress's login screen reflects user input without escaping, so a crafted link can run script in a victim's browser. Under additional conditions the sources say it may escalate to remote code execution.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check the WordPress version with `wp core version` or the generator tag on the login page; the sources do not name affected versions.
- Confirm whether a WAF rule for CVE-2026-64638 is active on your Cloudflare zone (Managed Ruleset rule ...9c6dff1c).

## Fix

- Update WordPress core to a release that includes the upstream fix; the sources do not name the version.
- Keep Cloudflare Managed Ruleset rule for CVE-2026-64638 in Block mode as a stopgap.

## Timeline

- 2026-10-24T18:43:44+00:00 lab https://developers.cloudflare.com/changelog/post/2026-08-07-waf-release/ — Cloudflare: WAF Release - 2026-08-07 · Changelog
- 2026-10-24T18:53:56+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-64638
- 2026-10-25T12:38:49+00:00 epss https://api.first.org/data/v1/epss?cve=CVE-2026-64638

## Documents

- [advisory] Cloudflare: WAF Release - 2026-08-07 · Changelog https://developers.cloudflare.com/changelog/post/2026-08-07-waf-release/

## From the sources

WAF Release - 2026-08-07 · Changelog

# Changelog

New updates and improvements at Cloudflare.

August 7, 2026

## WAF Release - 2026-08-07

This release updates WordPress XSS rule metadata in the Cloudflare Managed Ruleset and Cloudflare Free Ruleset to identify XSS2Shell (CVE-2026-64638). It also disables the Command Injection - Obfuscation rule.

Key Findings

- CVE-2026-64638: A pre-authentication reflected cross-site scripting vulnerability affecting the WordPress login screen. Exploitation requires social engineering and explicit interaction by the target user. Under additional conditions, it may be escalated to remote code execution.

Impact

The WordPress changes update rule metadata only; detection behavior and actions remain unchanged.

| Ruleset | Rule ID | Legacy Rule ID | Description | Previous Action | New Action | Comments |
| --- | --- | --- | --- | --- | --- | --- |
| Cloudflare Managed Ruleset | ...9c6dff1c | N/A | Wordpress - XSS - CVE:CVE-2026-64638 | Block | N/A | Rule metadata description refined. Detection unchanged. |
| Cloudflare Free Ruleset | ...9ab5ed95 | N/A | Wordpress - XSS - CVE:CVE-2026-64638 | Block | N/A | Rule metadata description refined. Detection unchanged. |
| Cloudflare Managed Ruleset | ...761e7a4c | N/A | Command Injection - Obfuscation | Block | Disabled | Detection logic has been deprecated |

---

_Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai_
