What the fake CAPTCHA attack is
Security researchers call it ClickFix. A hacked website shows visitors a convincing fake verification box, usually styled like Cloudflare’s “Verify you are human” page or a reCAPTCHA. When the visitor clicks it, the page quietly copies a command to their clipboard. Then it shows “verification steps”: press Windows+R, paste with Ctrl+V, press Enter.
Those steps run the attacker’s command on the visitor’s own computer. It typically installs malware that steals saved passwords, browser sessions and crypto wallets. Your website is the bait. The visitors are the target.
It became one of the most common WordPress infections in 2025 and 2026, and it’s still showing up in hacked-site threads every week.
Where it hides on a WordPress site
The fake CAPTCHA itself is usually a small piece of JavaScript. What makes it hard to remove is everything around it:
| Location | What to look for |
|---|---|
| The database | Injected <script> tags in posts, widgets, theme options, or “header scripts” settings; encoded payloads in wp_options and transients |
| Fake plugins and must-use plugins | Plugins you didn’t install, often with names that sound like caching, REST API or maintenance helpers; anything new in wp-content/mu-plugins |
| Startup files | Code added to wp-config.php or object-cache.php that restores the malware on every request |
| Theme and plugin files | A script tag added to header.php, footer.php or functions.php, or code appended to a legitimate JavaScript file |
| Remote loading | The page loads the fake CAPTCHA from another domain, so your files contain only a short loader that’s easy to overlook |
How I remove fake CAPTCHA malware
- Reproduce it as an affected visitor would, and capture exactly which script loads it and from where.
- Trace the loader back to every place it’s stored: files, database rows, options and startup code.
- Remove every copy at once, so the self-restoring pieces can’t rebuild each other.
- Find the entry point. In recent cases, that’s been a vulnerable theme add-on or plugin, a supply-chain compromise, or stolen admin logins. I fix it, rotate the credentials, and revoke sessions and application passwords.
- Verify with fresh visits as Windows, mobile and search visitors, then help you with a Google review if your site was flagged.
A pattern worth knowing: one recently reported case kept reinfecting a site even after the host’s paid cleanup, several security plugins, and backup restores. No malicious PHP files could be found. The cause turned out to be a frontend-submission add-on bundled with the site’s theme. It had a vulnerability that let attackers edit posts directly, and the add-on didn’t show up as needing an update in WordPress. The lesson: when the files are clean but the malware keeps returning, check your access logs and every bundled add-on, not just the plugin list.
What to tell your visitors
If any visitors may have followed the fake instructions, it’s worth telling them plainly: the box wasn’t a real check, and they should run a full antivirus scan and change important passwords from a different device. It’s an awkward message to send, but far better than them finding out from a drained account.
Keep it from coming back
The same advice applies as for any infection: update everything, including theme add-ons that don’t show up in the update list (a recent case shows why), remove what you don’t use, turn on two-factor login, and keep off-site backups. My WordPress malware protection checklist walks through all of it. And if this malware has already come back once, see why WordPress malware keeps coming back.