Web Application Analysiswordpressscannervulnerabilitypluginssecurity

WPScan

Black box WordPress vulnerability scanner that scans remote WordPress installations to find security issues.

Description

WPScan is a WordPress Security Scanner designed to identify vulnerabilities in remote WordPress installations. It performs comprehensive scans to enumerate installed plugins, detect WordPress versions, and uncover potential security issues. The tool is particularly useful for penetration testers and security researchers assessing WordPress sites.

The scanner examines various aspects of WordPress sites including robots.txt files, HTTP headers, XML-RPC interfaces, and RSS generators to gather information about the target. It provides detailed output about discovered elements such as interesting paths, server information, and security headers. WPScan is sponsored by Sucuri and maintained by the WPScan Team.

Use cases include black box vulnerability assessments of WordPress sites, plugin enumeration for identifying outdated or vulnerable components, and reconnaissance of WordPress installations during penetration testing engagements.

How It Works

WPScan operates as a black box scanner that sends HTTP requests to the target WordPress URL using protocols http and https. It enumerates plugins by testing against a database of 2166 known plugins, parses robots.txt for interesting paths, detects WordPress version from RSS generators and meta tags, identifies XML-RPC interfaces, and analyzes HTTP headers for security-relevant information. The tool uses Ruby dependencies like ruby-cms-scanner and ruby-yajl for parsing and processing responses.

Installation

bash
sudo apt install wpscan

Flags

--url URLThe URL of the blog to scan. Allowed Protocols: http, https. This option is mandatory unless update or help or hh or version is/are supplied
-h, --helpDisplay the simple help and exit
--hhDisplay the full help and exit
--versionDisplay the version and exit
-v, --verboseVerbose mode
--enumerate pEnumerate installed plugins

Examples

Scan a target WordPress URL and enumerate any plugins that are installed
wpscan --url http://wordpress.local --enumerate p
Display the simple help and exit
wpscan -h
Display the full help and exit
wpscan --hh
Display the version and exit
wpscan --version
Scan target WordPress URL for basic information including robots.txt, headers, and WordPress version
wpscan --url http://wordpress.local
Verbose plugin enumeration scan of WordPress target
wpscan -v --url http://wordpress.local --enumerate p
Scan HTTPS WordPress site
wpscan --url https://example.com
Updated 2026-04-16kali.org ↗