- Update Elementor (and Pro) immediately and confirm both version numbers in wp-admin
- Audit low-privilege accounts created around any vulnerable window; delete what you cannot identify
- Scan uploads and builder folders for shells — RCE flaws are used to plant them, not just to visit
- Rotate admin credentials and salts if you find any trace of exploitation
This post is part of our series on WordPress attacks in the last 10 years — one major attack per day, what it was, how to detect it, how to remove it and how to keep it out. This instalment covers Elementor RCE (2022) (April 2022).
What happened
Elementor’s 3.6.0 release (March 2022) reworked how the builder loads its editor — and introduced a missing capability check. The result: a logged-in user with minimal privileges could upload and execute code, because the onboarding/editor AJAX actions trusted the requester. It was disclosed in April 2022 and patched in 3.6.3. The incident underlined an uncomfortable symmetry: the plugins with the largest install bases are both the best-maintained and the most valuable to attack, so their flaws have the shortest exploitation windows.
Who was exposed: Elementor 3.6.0–3.6.2 — the page builder installed on over 5 million sites; roughly a third of its users were on the affected branch. Why it mattered: An authenticated remote-code-execution flaw in the world’s most popular WordPress builder — meaning any site where attackers could obtain a low-level account had a path to full control.
How this attack works
‘Authenticated’ sounds reassuring until you count how many WordPress sites hand out accounts: shops, membership sites, LMS platforms, forums, comment registrations. On those sites the attacker pool for an authenticated flaw is ‘anyone who can fill a signup form’. From a low-privilege foothold, the missing check converted an editor-loading action into arbitrary code execution — full site control from a subscriber account.
The exploitation itself is usually automated end to end. Bots continuously scan the web reading plugin readme files and version strings; the moment a vulnerable version is fingerprinted, an exploit script fires — creating an admin account, uploading a web shell, or injecting a database payload, depending on the flaw. The site owner typically did nothing ‘wrong’ on the day it happened beyond running a popular plugin a few versions behind, which is why the median time from disclosure to mass attack — about five hours for the worst flaws in 2025 — matters so much.
Signs your site has it — and how to confirm
- A page builder running a version from a known-bad window — keep a version inventory, builders especially
- Low-privilege accounts being created in bursts (attackers stockpile footholds for authenticated flaws)
- Files appearing in uploads or builder asset folders that no editor saved
- Editor behaviour changing — elements or settings altered that no team member touched
Confirm the plugin and its version on your site against the affected versions in the advisory — if you are at or below the vulnerable version, treat the site as exposed, not just at risk. Then check for the fingerprints of a successful exploit: admin users you did not create, files modified after the disclosure date, PHP files in uploads, and unfamiliar options or cron jobs in the database.
Step-by-step removal and recovery
Immediate actions for this attack
- Update Elementor (and Pro) immediately and confirm both version numbers in wp-admin
- Audit low-privilege accounts created around any vulnerable window; delete what you cannot identify
- Scan uploads and builder folders for shells — RCE flaws are used to plant them, not just to visit
- Rotate admin credentials and salts if you find any trace of exploitation
The full protocol
- Back up first, labelled infected — you may need it for evidence or rollback.
- Update the vulnerable plugin immediately if a fix exists; if none exists, deactivate and delete it — an unpatched known flaw is an open door.
- Assume entry may already have happened: audit every administrator account (including in the database, where hidden admins do not show in wp-admin).
- Scan files and database: recently modified PHP, PHP in uploads, encoded payloads in wp_options, rogue cron jobs.
- Reinstall the plugin (and ideally core and theme) from clean official sources rather than trusting edited files.
- Rotate wp-admin, hosting, database and FTP credentials, and regenerate wp-config.php salt keys to kill every existing session.
- Verify with a fresh fetch of key pages and a server-side scan, then watch file-change alerts closely for two weeks — reinfection almost always means a persistence point survived.
How to prevent it
- Builders are core infrastructure: patch them like core, the day updates ship
- Close or tightly gate open registration on builder-powered sites; every account is potential attack surface
- Keep Elementor Pro’s licence active — lapsed licences silently stop security updates
- Remove builder add-on packs you don’t use; each inherits the same privileged surface
The defences repeat across this whole series for a reason: kept-updated software, unique passwords with 2FA, the fewest possible plugins, backups stored off the server, and monitoring that looks at your site the way an attacker — or Google — does. Sites rarely fall to one exotic trick; they fall to one ordinary gap.
FAQs
My site has no user registration. Was I exposed?
Much less — this flaw needed an account. Your exposure to authenticated flaws scales with how freely your site gives accounts away, which is worth reviewing in its own right.
Free Elementor or Pro — which was affected?
The flaw was in the free builder’s code (which Pro extends), so both mattered; always update the pair together.
How fast do builder flaws get exploited?
For a plugin on millions of sites, exploit code and scanning typically appear within days of disclosure. Update latency is the risk you actually control.
Next in the series and the full timeline: WordPress Attacks in the Last 10 Years — the complete guide.
JunoBizz audits, cleans and hardens WordPress sites — cloaked spam, rogue admins, poisoned plugins and everything in this series. Get the checks run before Google finds the problem.
Talk to JunoBizz