Tampered vendor scripts create rogue admins on WordPress sites

ATG-class event12 to 15 June 2026

Scripts that a plugin vendor serves from its CDN to customer sites were altered to act only when a logged-in WordPress administrator viewed the page, using that administrator’s session to create a hidden admin account and install a backdoor.

Position
SDK files served from a plugin vendor’s CDN, reached through a stolen CDN API key
Reach
More than 1.2 million sites exposed (Sansec); payload fired only for logged-in administrators
Category
Third-Party Script Injection
Effect
Destroy

What happened

Awesome Motive serves SDK files for its OptinMonster, TrustPulse and PushEngage products from its own CDN to customer sites. In June 2026 attackers added code to those files. The company said the attacker first exploited a known plugin vulnerability on its marketing server and obtained a CDN API key. Sansec verified the malware on 12 June and published the next day. The added script did nothing for ordinary visitors. When a logged-in WordPress administrator loaded a page, it used that session to create a new administrator account, install a self-hiding backdoor plugin with a web shell, and send the credentials to the attacker. It exited if it detected an automated or headless browser, and ran at most once a day. Sansec put the exposure at more than 1.2 million sites, and Patchstack blocked rogue-admin attempts in the following days.

The ATG nexus

The script asked the browser to do what the administrator was entitled to do. The site's server saw an authenticated request from its own administrator and complied. This is the Destroy effect as the research defines it: damage beyond the screen, carried out by the attacker's code, using the signed-in person's authority as the weapon. It hid from scanners by refusing to run in automated browsers, and from everyone else by running only for the one kind of visitor whose session could do damage.

Limits of the comparison

Sansec said the payload fired only for administrators, so ordinary visitors' screens were unaffected. How many sites actually gained rogue accounts was not published.

On this site

Sources

  1. OptinMonster, TrustPulse and PushEngage supply chain attackSansec, 13 June 2026Primary source
  2. Supply Chain Attack on OptinMonster, TrustPulse, and PushEngage: Tampered CDN Scripts Auto-Creating Rogue AdminsPatchstack, June 2026
  3. Popular WordPress Plugin Scripts Tampered to Plant Hidden Backdoors on SitesThe Hacker News, June 2026

Back to this event on the timeline