AI, Development & Tech News

WordPress plugin WP Statistics: Without an update, a security vulnerability remains open

261128 wp statistics security vulnerability update cover image
Skip to table of contents
Contents 5 sections
  1. When can the vulnerability be exploited?
  2. Which version protects your website?
  3. What does 14.17.1 change about visitor counting?
  4. What this means for you
  5. Sources

The WordPress plugin WP Statistics has a security vulnerability in all versions up to 14.16.19, which the security vendor Wordfence rates as high severity. With an account that is allowed to view the reports, the plugin can be tricked into loading and executing PHP files on the server.

WordPress.org counts more than 500,000 active installations for the plugin. The free update has been in the plugin directory since November 20, and the latest version is 14.17.1 from November 27.

When can the vulnerability be exploited?

The danger depends on which role an account minimally needs in order to view the statistics. By default, WP Statistics requires the "manage_options" capability for this, which is usually reserved for administrators. By contrast, any registered account is enough if you have already made the statistics available to the Subscriber role and above.

According to the CVE entry from Wordfence, a manipulated parameter named "tab" in the request is enough to make the plugin include any PHP file on the server. Attackers can thereby bypass access restrictions and read out confidential data. They can execute their own code if a PHP file can additionally be uploaded to the website. Wordfence assigns 7.5 out of 10 points and rates the effort required for an attack as high.

Wordfence disclosed the vulnerability on November 25. It was not listed on November 27 in the catalog of the US agency CISA for actively exploited vulnerabilities.

Which version protects your website?

You are protected from version 14.16.20 onward, as a comparison of the program code in the plugin directory shows. Since this version, WP Statistics checks whether a requested file is located in the folder of its own page templates, and blocks path specifications that lead out of this folder. Versions 14.17.0 and 14.17.1 also contain the check.

Welche Version läuft bei dir?
Versionen von WP Statistics, Stand 28. November 2026
InstalliertBedeutung
  • bis 14.16.19anfällig, Update nötig
  • 14.16.20Sicherheitslücke geschlossen
  • 14.17.0geschützt, Einwilligungs-Einstellung ansehen
  • 14.17.1neueste Fassung
Quellen: CVE Program, WordPress.org, WP Statistics auf GitHub

The changelog for 14.16.20 only mentions minor adjustments, such as to notices, a pricing table, and the display of offers. So you cannot recognize the urgency from the changelog alone. According to the entry from Patchstack, the same version also fixes a second, medium-severity vulnerability through which third-party sites can trigger unwanted actions (CSRF).

On November 28, according to the statistics from WordPress.org, just under 30 percent of installations were still running a version series before 14.16, which is vulnerable in every case. Around 43 percent fall into the 14.16 series, in which only version 14.16.20 protects. Versions 14.16.20 and 14.17.1 require at least WordPress 6.6 and PHP 7.4.

What does 14.17.1 change about visitor counting?

Since version 14.17.1, an update no longer switches the connection to consent plugins to the WP Consent API interface on its own. According to the changelog, the switch had led to visitors who did not consent in the cookie banner no longer being counted. One exception remains for updates from versions before 14.14, where the one-time switch still applies.

In addition, the plugin now warns when a cookie banner excludes such visits from the statistics, and offers a fix with one click. The click sets the option "Consent Plugin Integration" to "None". It is best to check beforehand whether your legal basis allows counting without consent. The option is also worth a look if you had already installed 14.17.0.

What this means for you

It is best to update WP Statistics to 14.17.1 today and then check under "Plugins" whether the new number appears. If the update has to wait, set the "Minimum Role to View Statistics" field to "manage_options" in the plugin settings under "Roles and Permissions", so that only administrators can see the numbers. This lowers the risk but does not replace the update.

Check the user list if low-level roles had access to the statistics, and delete accounts that nobody can attribute. Unknown PHP files in the upload folder are a warning sign, and you should get professional help if you find any.

The WordPress course for beginners on TutKit explains user roles to you and shows how to keep plugins up to date.

The CVE entry for the serious security vulnerability was published on November 26, 2026.

Sources

Comments

Register and comment.

Continue reading

You might also like

View all articles →