WordPress vulnerability scanning is the fastest way to discover which components of your site are exposed before an attacker does. By comparing the versions of core, plugins, and themes against a constantly refreshed vulnerability database, a scanner tells you exactly what needs attention.

How does a WordPress vulnerability scanner work?

A scanner performs three basic steps:

  1. Collect version data - it reads the WordPress core version from the wp-includes/version.php file and extracts plugin and theme versions from their respective readme.txt headers or metadata.
  2. Query a vulnerability database - the collected versions are matched against a public or curated list of known CVEs. These lists are built from public sources such as the National Vulnerability Database and from the security researchers and vendors who track WordPress plugins.
  3. Report findings - results are grouped by severity (critical, high, medium, low) and include remediation advice, such as updating to a specific version or disabling the component.

The process runs from the outside (HTTP requests) or from inside the WordPress installation (WP-CLI, PHP script). Inside scans can also detect hidden files and mis-configured permissions.

A realistic example of a scan in action

Imagine a small business site whose WordPress core is up to date, but whose contact-form plugin is two releases behind, and whose custom theme hasn't been touched in years. A scan returns:

  • Core: no known issues.
  • Contact-form plugin: a published cross-site scripting flaw, fixed in the latest release.
  • Custom theme: it bundles an old copy of a JavaScript library with publicly known flaws.

The report also shows when its vulnerability data was last updated, and links to each fix. The owner updates the plugin straight away, then asks the theme's developer to replace the old library, closing both gaps before an automated bot finds them.

How to choose the right WordPress vulnerability scanner

When evaluating scanners, keep the following criteria in mind:

  1. Current data - the vulnerability feed must be refreshed at least daily. Stale data means you could miss newly disclosed CVEs.
  2. Full coverage - core, plugins, and themes should all be checked. Malware detection is a separate function; see how to choose a WordPress malware scanner for that.
  3. Prioritisation - results should be clearly ranked, highlighting critical and actively exploited issues.
  4. Alerting - the tool should notify you (by email or webhook) when a new critical vulnerability appears in something you run.
  5. Ease of use - a simple dashboard or a WP-CLI command makes regular scans practical.

Step-by-step guide to scanning and fixing vulnerabilities

  1. Run the initial scan - schedule a full scan from your chosen tool. Record the baseline report.
  2. Update core - if the report shows a newer WordPress version, update via the dashboard or using wp core update.
  3. Patch plugins and themes - for each item flagged as vulnerable, apply the latest version. Use the WordPress admin update screen or run wp plugin update <slug> / wp theme update <slug>.
  4. Handle unpatched components:
    • If no update exists, deactivate the plugin/theme until a fix is released.
    • Apply a virtual patch using a web-application firewall (WAF) that blocks the specific exploit pattern.
  5. Clean up - remove any plugins or themes you no longer need. Delete their files from wp-content/plugins and wp-content/themes.
  6. Verify - run a second scan to confirm all issues are resolved. Keep the report for future reference.
  7. Automate - schedule regular scans (weekly or daily) and enable real-time alerts for new critical findings.

Common mistakes when using vulnerability scanners

  • Relying on a single scan - vulnerabilities appear constantly; without regular scans you can quickly fall behind.
  • Ignoring severity rankings - treating all findings as equal leads to wasted effort. Focus first on critical, exploitable issues.
  • Skipping the “no update” path - if a plugin has no patch, many administrators leave it active. Deactivating or sandboxing the component reduces risk.
  • Assuming the scanner replaces backups - a scanner only reports; it does not restore files. Always keep recent backups before applying updates.
  • Overlooking theme inheritance - child themes inherit parent files; a vulnerability in the parent can affect the child even if the child version appears up-to-date.

Limitations of vulnerability scanning

  • Zero-day detection - scanners rely on known CVE data. Unknown or freshly disclosed vulnerabilities will not be flagged until the database updates.
  • Configuration issues - a scanner can report a vulnerable plugin, but it cannot tell you if the specific vulnerable function is actually reachable on your site.
  • False positives - custom code that mimics a plugin’s version string may be flagged erroneously. Manual verification is required.
  • No remediation automation - while many tools provide one-click updates, they cannot guarantee compatibility with custom code or other plugins.
  • Cannot replace a firewall - a scanner identifies weaknesses; it does not block attacks. A separate WAF is needed for virtual patching.

How Silent Threads helps

Silent Threads scans your plugins, themes, and core against known vulnerabilities and alerts you when a new one affects your site, so you can update before the bots arrive.

The short version

Vulnerability scanning compares your WordPress core, plugins, and themes against an up-to-date CVE database, highlighting exposures before attackers find them. Run a scan, update everything flagged, deactivate unpatched components, clean unused code, and automate regular scans with real-time alerts. Stay on top of updates and you’ll close the gap behind many of the reasons why WordPress sites get hacked. To see what your site exposes from the outside as well, read how to scan any website for vulnerabilities.