How Agentic AI Is Being Used to Exploit WordPress Websites

Article Objective:
Helps WordPress site owners and agencies understand how attackers use AI and autonomous agents across the attack lifecycle, and prioritize the patching, monitoring and hardening steps that blunt them.
Estimated Read Time:

AI-powered WordPress attacks are no longer a thought experiment. Threat intelligence teams at Google, OpenAI and Anthropic have all documented attackers using large language models (LLMs) and autonomous agents to scan, research vulnerabilities and write malicious code, and WordPress, with its huge plugin ecosystem, is an obvious place for that speed to pay off.

This article explains, at a high level, how agentic AI fits into each stage of a WordPress compromise, what the data says about how fast attacks now move, and the practical defenses that still work when the attacker is a machine.

What agentic AI changes about WordPress attacks

An agentic AI system is a model that can plan a task, call tools such as scanners or browsers, read the results and decide on its next step with little human input. For attackers, that means the slow, manual parts of an intrusion can be chained together and run around the clock.

The clearest public example so far came from Anthropic. In its November 2025 report on disrupting an AI-orchestrated espionage campaign, the company said the attacker used AI to perform 80–90% of the campaign, with humans stepping in at perhaps 4–6 decision points. The agent handled reconnaissance, vulnerability testing, exploit development, credential harvesting and backdoor installation, making thousands of requests, often several per second.

It is worth keeping this in proportion. OpenAI's October 2025 threat report put it plainly: threat actors "bolt AI onto old playbooks to move faster." Google Threat Intelligence Group's (GTIG) February 2026 AI Threat Tracker likewise said it had not yet seen actors achieve "breakthrough capabilities." The techniques are familiar. What has changed is speed, scale and the skill level needed to run them.

That matters for WordPress, because the attack surface is already enormous. Patchstack's State of WordPress Security in 2026 report counted 11,334 new vulnerabilities in the WordPress ecosystem in 2025, a 42% increase year over year, with 91% found in plugins and 9% in themes. Only six affected WordPress core.

Reconnaissance and plugin fingerprinting at machine speed

Most WordPress compromises start with a simple question: which sites run a vulnerable version of which plugin? Answering it has always been automated to some degree. Agentic tooling makes it more complete and far less effort.

  • Fingerprinting at scale. Plugins and themes leave traces in page source, file paths and readme files that reveal names and version numbers. An agent can gather these across huge lists of domains and match them against vulnerability databases without an operator writing glue code.
  • Target enrichment. GTIG's February 2026 report describes state-backed groups using Gemini to synthesize open-source intelligence and profile targets. The same approach can rank sites by value, such as stores, lead-gen pages and agency portfolios.
  • Off-the-shelf offensive frameworks. In September 2025, Check Point reported criminals discussing HexStrike AI, an open-source framework that connects AI agents to more than 150 security tools, for exploiting newly disclosed Citrix flaws. As The Hacker News coverage of the HexStrike AI findings notes, Check Point warned this shrinks "the window between public disclosure and mass exploitation."

None of this is WordPress-specific tooling, and that is the point. General-purpose agents lower the cost of scanning every site on the internet for the one plugin version that was patched yesterday.

From CVE disclosure to mass exploitation in hours

Once a vulnerability is published as a Common Vulnerabilities and Exposures (CVE) entry, the race begins. Patchstack's 2026 report found that approximately half of high-impact WordPress vulnerabilities are exploited within 24 hours, and the weighted median time to first exploit is just 5 hours. Worse, 46% of vulnerabilities were still unpatched when they were disclosed, so many site owners had no update to install.

AI-assisted exploit and payload development

The gap between reading an advisory and having working attack code is where AI helps attackers most. GTIG's May 2026 report on AI-enabled vulnerability exploitation documented a criminal actor using what Google believes was an AI-developed zero-day exploit, a two-factor authentication bypass in a popular open-source web administration tool, which the actor planned to use for mass exploitation. The same report describes state-backed groups sending thousands of prompts to analyze CVEs and validate proof-of-concept exploits.

Patchstack's report reaches a similar conclusion for WordPress, warning of "attackers being equipped with AI that is increasingly capable of autonomously finding and exploiting security vulnerabilities." Web application weaknesses such as broken access control, SQL injection and unauthenticated file upload are the kind of logic-level flaws that GTIG says frontier LLMs are increasingly good at spotting.

Old vulnerabilities do not go away

Fast exploitation of new bugs does not mean old ones are safe. In October 2025, Forbes reported on Wordfence data showing 1.6 million attacks in 48 hours against flaws in the GutenKit and Hunk Companion plugins that had been patched a year earlier. Automation makes it cheap to keep retrying every known bug against every site that never updated.

Credential stuffing and adaptive brute force

Not every attack needs a vulnerability. The 2024 Annual WordPress Security Report by Wordfence recorded more than 55 billion password attacks blocked in 2024, including brute force and credential stuffing, from roughly 136 million distinct IP addresses.

AI adds adaptability to this old technique. Rather than hammering one login page from one address, agent-driven tooling can:

  • Spread attempts across residential proxies and rotating IP addresses to stay under per-IP limits.
  • Shift between the login form, XML-RPC and REST endpoints when one is blocked.
  • Pace requests to mimic human timing and react to lockouts or CAPTCHA challenges.
  • Build smarter password guesses from breached credential lists and details scraped from the target site.

GTIG's May 2026 report also describes criminal tooling that automates account creation, bypasses CAPTCHA and SMS checks, and isolates browser fingerprints to avoid bot detection. We cover the wider pattern of automated traffic in our guide to good and bad agentic AI traffic.

AI-written malware, SEO spam and persistence

After access, the goal is usually monetization and staying in. Here, too, the evidence shows AI being folded into established tactics.

Obfuscated and self-rewriting code

Google's November 2025 GTIG AI Threat Tracker described PROMPTFLUX, an experimental dropper that asks an LLM to rewrite and obfuscate its own source code every hour to evade signature-based detection. Google noted it was still in testing, but the technique points at a real problem for WordPress cleanup: if every infected file is unique, simple signature matching struggles.

SEO spam and cloaking

WordPress malware already hides well. Patchstack's 2026 report found the Parrot traffic direction system (TDS) now detects AI training crawlers such as those from ChatGPT and Google Gemini and serves them clean content, while continuing to exploit human visitors. Spam and redirects shown only to certain visitors can easily go unnoticed by site owners who only check their own pages.

Persistence: rogue admins, cron jobs and backdoors

Attackers expect to be cleaned up, so they plant ways back in:

  • Hidden administrator accounts. Sucuri's July 2025 analysis of a backdoor in mu-plugins found malware in the must-use plugins folder, which cannot be deactivated from the dashboard, that created a hidden admin user, injected a file manager and reset passwords for common admin usernames.
  • Self-healing infections. Patchstack describes the Lock360 malware family monitoring and reinfecting files such as index.php and .htaccess the moment they are restored.
  • Uploaders and scheduled tasks. Patchstack reports uploader scripts nearly doubled in volume in June 2025. Combined with malicious cron hooks and payloads stored in the database, they let attackers re-drop malware after a file-only cleanup.

How to defend WordPress against AI-powered attacks

The good news is that AI does not change the fundamentals. It punishes slow patching and weak hygiene faster. Use this checklist:

  1. Patch on a tight cadence. With a median of 5 hours to first exploit, weekly updates are too slow for high-risk plugins. Enable automatic updates where you can and remove plugins you do not use.
  2. Monitor vulnerabilities, not just versions. Check your core, plugin and theme versions against CVE data from the National Vulnerability Database (NVD) or WordPress-focused databases such as Wordfence, Patchstack and WPScan, so you know about a flaw when it is disclosed, even if no patch exists yet.
  3. Use least privilege for admins. Keep administrator accounts to a minimum, give editors and contractors only the roles they need, require strong unique passwords and two-factor authentication, and review the user list regularly for accounts nobody recognizes.
  4. Put a web application firewall (WAF) and rate limiting in front of logins. Hosting defenses alone are not enough: Patchstack found traditional defenses blocked only 12% of WordPress-specific vulnerability attacks. Rate-limit login, XML-RPC and REST authentication endpoints.
  5. Run file integrity checks. Compare core and plugin files against official checksums so injected code in legitimate files is caught, not just standalone malware.
  6. Lock the file system. Disabling in-dashboard file edits and plugin installs (DISALLOW_FILE_EDIT and DISALLOW_FILE_MODS in wp-config.php) outside planned update windows removes an easy path from a stolen admin session to code execution.
  7. Audit the database and scheduled tasks. After any incident, look for rogue admin users, unfamiliar options and orphaned cron hooks, not just infected files.
  8. Keep tested, offsite backups. Back up files and database regularly, store copies off the server and practice restoring.

Where Ðeny WP Pro fits

Ðeny WP Pro is one option for covering several items on this list in a single plugin. It verifies WordPress core and wordpress.org plugins against official checksums, checks your core, plugin and theme versions against the NVD/NIST CVE database, and runs a scoring firewall that blocks SQL injection, scanners, fake search engine bots and login brute force, enforced in PHP as well as .htaccess. Its database audit surfaces rogue admin users and orphaned cron hooks, and a read-only lockdown can freeze file changes, then unlock once a day to install updates and re-lock automatically. For broader bot pressure on your marketing site, see our overview of 2026 bot threats to the marketing stack.

The bottom line

Agentic AI has not invented new ways to break into WordPress. It has made the existing ones faster, cheaper and available to less skilled attackers, compressing the time between a plugin advisory and a compromised site to hours. Sites that patch quickly, watch vulnerability data, limit admin access, verify file integrity and lock down file changes remain hard targets, whether the attacker is a person or an agent.

If you want to close the gaps attackers rely on, from tampered files to rogue admins, see how Ðeny WP Pro cleans up and locks down WordPress sites.

Receive better insights, in your inbox
Subscribe to Deny's insights & news.
Subscribe
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.

Start protecting your funnel today

Put Ðeny to work from day one, and your boss will thank you.

$79/month
Cancel anytime
Credit card required
Get Started