Visitor Statistics (WordPress plugin): is it safe?

Short answer: Version 6.9 or later has a fix for every vulnerability listed here. Older versions may be affected: check the table against the exact version you run.

WordPress visitor-statistics has 5 known advisories in the phpwarden feed. Feed 2026.11.23.2, updated 2026-11-23.

5advisories
1critical
0on CISA KEV
0no fix recorded
CVETitleSeverityCVSSAffectedFixed in
CVE-2021-24750The WP Visitor Statistics (Real Time Traffic) WordPress plugin before 4.8 does not properly sanitise and escape the refUrl in the refDetailshigh8.8<4.84.8
CVE-2023-0600The WP Visitor Statistics (Real Time Traffic) WordPress plugin before 6.9 does not escape user input which is concatenated to an SQL query, critical9.8<6.96.9
CVE-2022-0410The WP Visitor Statistics (Real Time Traffic) WordPress plugin before 5.6 does not sanitise and escape the id parameter before using it in ahigh8.8<5.65.6
CVE-2021-25042The WP Visitor Statistics (Real Time Traffic) WordPress plugin before 5.5 does not have authorisation and CSRF checks in the updateIpAddressmedium5.4<5.55.5
CVE-2022-4656The WP Visitor Statistics (Real Time Traffic) WordPress plugin before 6.5 does not validate and escape one of its shortcode attributes, whicmedium5.4<6.56.5

Quick answers

Is Visitor Statistics safe to use?

Version 6.9 or later has a fix for every vulnerability listed here. Older versions may be affected: check the table against the exact version you run.

Is Visitor Statistics being actively exploited?

None of its 5 known vulnerabilities are on CISA's Known Exploited Vulnerabilities list today.

How do I check my own site?

Run `phpwarden wordpress /path/to/wordpress`. phpwarden compares the exact version you have installed with these advisories and lists only the ones that apply, exploited ones first.

Am I affected?

Find out in one command. phpwarden checks your WordPress install against this advisory and 21,000+ others, ranked by real-world exploitation (CISA KEV + EPSS). Free, offline, open data.

# PHP projects (recommended)
composer require --dev phpwarden/phpwarden
# then
vendor/bin/phpwarden wordpress /path/to/wordpress

# or, without Composer
pipx install phpwarden   &&   phpwarden wordpress /path/to/wordpress

Or keep it checked automatically with the GitHub Action or a nightly cron; see WordPress docs.

Install docs   How findings are ranked
A version is vulnerable when it falls inside an affected range and below the fixed version. phpwarden applies these ranges to the exact versions in your lockfile or install, so you only see what applies to you.

Add this status to your README

phpwarden status badge

Maintainer of this package? The badge updates itself whenever the feed is rebuilt (twice a day). Add ?v=1.2.3 to the image address to show the status of one exact version.

[![phpwarden](https://phpwarden.io/badge/wordpress-plugin/visitor-statistics.svg)](https://phpwarden.io/packages/wordpress-plugin/visitor-statistics)