Injection: WordPress Core - Pre-Authentication Reflected XSS (XSS2Shell)¶
Identifier:
cve_2026_64638
Scanner(s) Support¶
| GraphQL Scanner | REST Scanner | WebApp Scanner | ASM Scanner |
|---|---|---|---|
Description¶
WordPress Core contains a pre-authentication reflected XSS on wp-login.php (XSS2Shell), where a parser differential between strip_tags() and KSES lets malformed tag-like input survive sanitization and render as live HTML, injecting attacker-controlled DOM elements that can be chained toward remote code execution against an administrator. An installation is affected until it receives the applicable security update: the fix ships in 7.0.3 and is backported to eligible branches down to 4.7, so a patched maintenance release on an older branch can remain numerically below 7.0.3. Remediate by updating to the current security release for the installed branch.
How we test: We confirm the target exposes a WordPress login page, then submit a failed login whose username carries a parser-differential payload ("< area id=ajaxurl ...>") and check whether the response reflects it back as a normalized "\" element, proving the sanitization bypass.
Reference:
- https://pwn.ai/blog/xss2shell
- https://thehackernews.com/2026/08/new-wordpress-pre-auth-xss-could-lead.html
- https://nvd.nist.gov/vuln/detail/CVE-2026-64638
- https://wordpress.org/news/2026/08/wordpress-7-0-3-release/
Configuration¶
Example¶
Example configuration:
Reference¶
skip¶
Type : boolean
Skip the test if true.