Skip to main content
WordPress 4 min read

Attackers exploit a flaw in Ninja Forms, installed on 500,000 sites, to plant a hidden WordPress admin.

A Ninja Forms vulnerability is under attack, and the payload leaves a hidden admin behind. Updating the plugin does not remove it.

On October 6, Patchstack reported that attackers are exploiting a Ninja Forms vulnerability (CVE-2026-94504) and a matching flaw in WPC Product Bundles for WooCommerce (CVE-2026-93836). Ninja Forms runs on more than 500,000 WordPress sites. WPC Product Bundles runs on more than 30,000. Ninja Forms shipped its fix, version 3.15.4, on September 21, one day before the flaws went public. Patchstack logged the first attack on October 4 at 10:39 UTC, 13 days after that fix. If your site skipped two weeks of plugin updates, it sat exposed.

The attack waits for you to open a form entry

Both flaws are stored cross-site scripting, XSS for short: a stranger types code into a public field, and your site saves it. With Ninja Forms, the attacker submits your contact form with a script in a text box. With WPC Product Bundles, the script rides in on an order. Nothing happens until an administrator opens that submission or that order in wp-admin. At that moment the script runs inside your logged-in browser with your permissions. It needs no password, because your session is open.

The script builds four ways back in

Patchstack took the script apart. It installs a fake plugin named “WP Smart Thumbnails” by “MediaPress Labs” and uses it to build four routes back into your site:

  • A new administrator account that shows on the Users screen.
  • A second administrator that a must-use plugin hides from the Users screen. Must-use plugins live in wp-content/mu-plugins, and WordPress loads them on every request with no activate or deactivate switch.
  • A secret login link that signs the holder in as the oldest administrator on your site, the original owner account.
  • A file manager with no login, which lets the attacker upload or delete files.

Patchstack states that removing the vulnerable plugin, or the fake one, closes none of the last three routes. The attackers copy old timestamps onto their files, so sorting by date will not expose them.

An update alone leaves the back doors open

It is tempting to treat “I updated the plugin” as the end of the story. Here the update blocks new injections and leaves every back door in place. Your site needs a closer look if two things are true: it ran Ninja Forms 3.15.3 or older, or WPC Product Bundles 8.6.6 or older, at any point since October 4, and an administrator opened a form submission or an order during that time.

Two limits belong on the record. Patchstack describes the attack volume in its own data as limited, and it gives no count of compromised sites. Patchstack warns that the two known plugins may be a partial list, which means the fake plugin and the hidden account are worth checking for even if you run neither one.

What I would do this week

  1. Update Ninja Forms to 3.15.4 or newer (3.15.5 is current) and WPC Product Bundles to 8.6.7 or newer. Turn on auto-updates for both.
  2. Open the Plugins screen and look for “WP Smart Thumbnails”. If it is there and you did not install it, treat the site as compromised.
  3. Ask your host or developer to list the files in wp-content/mu-plugins. Flag any file named class-wp-token-validate.php, or class-wp-query- followed by eight random characters.
  4. Have the same person count the administrators in the database and compare that count with the Users screen. A mismatch means a hidden account. The planted accounts use names like support, updater, or backup with an @wordpress.org email address.
  5. If any check comes back positive, remove the rogue accounts and files, change every administrator password starting with the oldest account, and regenerate the WordPress security salts, which signs out every open session.

If the mu-plugins folder or the database is unfamiliar ground, send this list to whoever maintains your site. Patchstack’s write-up, linked below, carries the full file names and hashes for a deeper cleanup.

The takeawayA patched plugin stops the next attack and leaves the last one in place. Update Ninja Forms today, then check for the fake plugin and the hidden administrator before you call the site clean.

Next step

Want help with this?

A free assessment tells you where your website and your tools stand, and what I would fix first. No pressure, no spam.

Get a free assessment