CVE-2026-130331: WP Statistics <= 14.16.19 - Authenticated (Subscriber+) Local File Inclusion via 'tab' Parameter
The WP Statistics – Simple, privacy-friendly Google Analytics alternative plugin for WordPress is vulnerable to Local File Inclusion in all versions up to, and including, 14.16.19 via the 'tab' parameter parameter. This makes it possible for authenticated attackers, with subscriber-level access and above, to include and execute arbitrary .php files on the server, allowing the execution of any PHP code in those files. This can be used to bypass access controls, obtain sensitive data, or achieve code execution in cases where .php file types can be uploaded and included. The exploitability of this vulnerability depends on the Minimum Role to View Statistics setting; when set to a low-privilege role such as Subscriber (read capability), unauthenticated-equivalent access is effectively granted to any registered user, while the default Administrator setting limits exposure to higher-privileged accounts.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Configuration
Set Minimum Role to View Statistics to Administrator; the material states this default setting limits exposure to higher-privileged accounts.
WP Statistics Minimum Role to View Statistics = Administrator
Event History
Frequently Asked Questions
Are ordinary registered users able to exploit this in a default installation?
By default, the Minimum Role to View Statistics setting is Administrator, which limits access to higher-privileged accounts. If that setting is lowered to Subscriber or another low-privilege role, any registered user with that role can reach the vulnerable functionality.
What conditions are needed for the most severe outcome?
An attacker needs an authenticated account with a role permitted to view statistics and must be able to cause a PHP file present on the server to be included. The issue can execute PHP code from included files, potentially leading to access-control bypass, data exposure, or code execution.
What can be done before a patch is applied?
Set Minimum Role to View Statistics to Administrator to prevent subscriber-level accounts from accessing the affected functionality. Review and restrict registered accounts, particularly if the setting was configured to allow Subscribers or other low-privilege roles.
How can administrators identify potentially affected deployments?
Deployments using WP Statistics versions 14.16.19 or earlier are affected. Exposure is greatest where the Minimum Role to View Statistics setting permits Subscriber-level or similarly low-privilege users.