Click2Shell: The RCE WordPress 7.1.1 Just Patched
WordPress 7.1.1 patches Click2Shell, a CSRF-to-selector-injection chain letting attackers gain remote code execution via crafted links clicked by admins.
WordPress 7.1.1, released 17 September 2026, fixes a chain reported by Paulos Yibelo of pwn.ai that abuses an unsanitized theme slug in wp-admin JavaScript. The slug is injected into a jQuery selector, tricking an admin's browser into installing an attacker-chosen theme; the chain then abuses an AJAX handler in theme Mobile Repair Zone 2.5.4 that lacks nonce and capability checks, allowing a malicious plugin ZIP to be installed and executed server-side for full RCE. Exploitation requires an administrator to load a crafted URL while logged in, or an existing XSS foothold on the site. The fix scopes the selector to real .theme elements and applies $.escapeSelector() before injection.