Ninja Forms stored XSS under active exploit, hijacks admin sessions (CVE-2026-94504)
A stored cross-site scripting vulnerability in Ninja Forms (CVE-2026-94504, CVSS 7.1) is being actively exploited in the wild. Patchstack researchers first observed the campaign on October 5, 2026. Ninja Forms has more than 500,000 active installs.
The attack needs no account on your site. Attackers submit crafted content through the plugin’s normal form submission endpoint. That content sits in the submission and executes as JavaScript when an administrator views it in the admin submission editor. The script then borrows the administrator’s own authenticated session: it retrieves security tokens from admin pages and calls legitimate WordPress functions to take over the site.
What the payload does
Once the script runs inside an admin session, it:
- Installs a malicious plugin disguised as “WP Smart Thumbnails” 1.2.4 from “MediaPress Labs”, including an unauthenticated file manager.
- Creates a visible administrator account and a second administrator account concealed from the Users list in the dashboard.
- Adds a secret login URL that authenticates as the site’s oldest existing administrator.
The same JavaScript payload and infrastructure (imgcdn1.com) are behind the simultaneous campaign against WPC Product Bundles for WooCommerce (CVE-2026-93836), so one actor is running both. Versions 3.15.3 and earlier are affected; 3.15.4 strengthened output escaping on the admin submission screen.
What to do
- Update to 3.15.4 immediately. Then check for compromise, because patching
does not remove persistence the attackers already planted. Look for:
- Unknown administrator accounts, including any hidden from the Users list
- The “WP Smart Thumbnails” plugin or any plugin you did not install
- Recent form submissions containing script tags or image
onerrorhandlers
- Rotate salts, force password resets, and review access logs for the window before you updated.
An exploit that turns an ordinary admin page view into a site takeover is why ZeroBreach pairs its recurring plugin scans with a post-update compromise check: a hidden admin account never shows up on a dashboard glance, but it always shows up in an inventory.