In this post
What happened
In November, the developers of a WordPress security plugin shared this case on r/Wordpress. The client’s site kept showing fake Cloudflare CAPTCHA pages. It had been through:
- a paid malware removal from the host;
- restored backups, updates and new passwords;
- scans with three different security plugins, which found no malicious file and no known vulnerability.
The breakthrough came from the server access logs, which took almost 48 hours to get from the host. They showed hundreds of requests to URLs like /editor/2276, each matching a post that had been modified, from late October to mid-November.
Those URLs belonged to JNews Frontend Submit, an optional addon bundled with the JNews theme. The theme was up to date and WordPress showed no plugin updates. But the addon was on 12.0.1, while the vendor had already released 12.0.3, with a changelog line about a “post ownership issue”. According to the people who found it, the bug let an account with only Subscriber rights edit other users’ published posts. The site didn’t even use frontend submissions. The addon was just active.
They report the vendor confirmed that versions up to 12.0.2 were affected and fixed in 12.0.3. The suspicious activity started about a week before the fix was released. If you run JNews, check the Frontend Submit version and the vendor’s own security notes.
Why scanners didn’t see it
There was no backdoor to find. The attacker used a feature of the site, editing posts, to inject the malicious script straight into post content in the database. File scanners compare files, and every file was legitimate. That’s why the infection kept “coming back” after every cleanup and restore: the open door was still there.
The blind spot: bundled addons
Premium themes and page builders often ship their own plugins: frontend editors, extra blocks, importers, sliders. They’re a blind spot because:
- WordPress often can’t see their updates. They update through the theme’s dashboard, a vendor account, or a manual zip upload.
- Changelogs can be vague. A security fix may be listed as a “bug fix”, with no advisory.
- They’re active even when unused. A frontend submission feature that nobody uses is still reachable by anyone with an account.
Patchstack’s research this year pointed in the same direction: premium components had about three times more known exploited vulnerabilities than free ones, partly because their updates are harder to roll out.
How to check your own site
- List what came with your theme or builder. Look at Plugins for anything from the same vendor, and at the theme’s own “Plugins” or “Addons” page.
- Remove addons you don’t use. If you don’t accept frontend submissions, you don’t need a frontend submission addon.
- Compare versions with the vendor’s changelog, not just the WordPress Updates screen. Do it monthly.
- Turn off “Anyone can register” in Settings → General unless you need it. As one commenter pointed out, this exploit needed a Subscriber account. Then check Users for subscribers created around the time problems started.
- Use post revisions. They show exactly what changed in a post and when, which helps confirm injected content.
- Get your access logs, or make sure you can. In this case, logs solved what scanners couldn’t. If your host takes days to hand them over, that’s worth knowing before an incident. See secure WordPress hosting.
From my cleanup work: “we cleaned it three times and it came back” usually means one of two things. Either something on the server restores the malware, or the way in is still open. When scanners say “clean” and the site still gets infected, I stop looking for files and start reading the access logs.
If your site has the fake CAPTCHA problem now, my page on fake Cloudflare CAPTCHA malware explains how I clean it and find the entry point.