| Field | Detail |
|---|---|
| Summary | Enumerate and vuln-check WordPress (plugins/themes/users) |
| Category | CMS vulnerability scanning |
| Phase | web-testing, enumeration |
| Interface | CLI |
| Platform | Linux, Windows, macOS |
| Licence | Open source (WPScan Public Source Licence; API freemium) |
| Docs | https://github.com/wpscanteam/wpscan |
| Related | Nuclei, ffuf and Gobuster, Hydra, Burp Suite |
WordPress runs a huge share of the web, and most WordPress compromises come through vulnerable plugins/themes, not core. WPScan enumerates versions, plugins, themes and users, then checks them against its vulnerability database. Equivalents exist for other CMSes (noted at the end).
⚠️ Warning — Noisy + API limits Enumeration is active and logged. Plugin brute-forcing (
--enumerate ap) sends thousands of requests. Vulnerability data needs a free API token (wpscan.com) with a daily request cap; without it you get enumeration but not the vuln matches.
Setup
wpscan --update # update local DB
wpscan ... --api-token <TOKEN> # enables vuln data (store in ~/.wpscan/scan.yml)
Basic scans
wpscan --url https://target.com
wpscan --url https://target.com --api-token <TOKEN>
wpscan --url https://target.com --disable-tls-checks # self-signed
wpscan --url https://target.com --random-user-agent
wpscan --url https://target.com -o report.txt -f cli-no-color
Enumeration (-e / --enumerate)
wpscan --url https://target.com -e vp # vulnerable plugins (fast, recommended)
wpscan --url https://target.com -e ap # ALL plugins (slow, thorough, noisy)
wpscan --url https://target.com -e vt,at # vuln/all themes
wpscan --url https://target.com -e u # users (via author archives / REST API)
wpscan --url https://target.com -e u1-50 # user IDs 1–50
wpscan --url https://target.com -e cb,dbe # config backups, db exports
wpscan --url https://target.com -e vp,vt,u,cb # a sensible combined run
Enum codes: vp/ap plugins, vt/at themes, u users, cb config backups, dbe db exports, tt timthumbs, m media.
Password attack (authorised only)
WordPress login brute force via XML-RPC or wp-login:
wpscan --url https://target.com -e u --passwords rockyou.txt
wpscan --url https://target.com -U admin,editor --passwords rockyou.txt
wpscan --url https://target.com -P pass.txt -U users.txt --max-threads 5
Enumerate users first, then target those names. XML-RPC (/xmlrpc.php) allows amplified multi-guess requests — fast but very loud, and trips lockout/WAF. See Hydra for the online-attack caveats.
Reading output
- [!] lines = findings (version, vuln with CVE/WPVDB reference + "fixed in" version).
- Confirm the WordPress core version and each plugin/theme version, then judge exploitability (public PoC? authenticated-only?).
- Users found become the list for the password attack or for reuse elsewhere.
Other CMS scanners
| CMS | Tool |
|---|---|
| Joomla | joomscan, droopescan |
| Drupal | droopescan |
| Magento | magescan |
| SharePoint / generic | Nuclei tech + CVE templates |
| Any (version/tech id) | whatweb, httpx -tech-detect, Wappalyzer |
whatweb https://target.com # quick tech fingerprint, any site
droopescan scan drupal -u https://target.com
More flags
| Flag | Purpose |
|---|---|
--plugins-detection mixed\|passive\|aggressive |
Depth of plugin discovery |
--plugins-version-detection ... |
Depth of version checks |
--detection-mode stealthy / --stealthy |
Quieter scanning |
--throttle <ms> / --max-threads N |
Rate control |
--passwords list --usernames u --max-threads 5 |
Login brute (XML-RPC / wp-login) |
--wp-content-dir / --wp-plugins-dir |
Non-default paths |
--proxy http://127.0.0.1:8080 |
Through Burp |
--random-user-agent |
Rotate UA |
-f json\|cli-no-color -o out |
Output format + file |
--force --disable-tls-checks |
Scan even if not detected as WP / bad cert |
wpscan --url https://t --api-token TOKEN -e vp,vt,u --plugins-detection aggressive \
--throttle 500 --random-user-agent -f json -o wpscan.json
Kill-chain usage
Enumeration
wpscan --url https://t -e u # enumerate users
Web testing
wpscan --url https://t -e vp --api-token T # vulnerable plugins
Where it fits
After ffuf and Gobuster / tech-fingerprinting tells you it's WordPress: run WPScan to enumerate plugins/themes/users and match known vulns, then verify and exploit in Burp Suite. For a broad known-CVE sweep across mixed sites, Nuclei complements it.