CVE-2026-130331
7.5HighPublished Nov 26, 2026 · NVD status: Deferred · AI triage by gemini-3.1-flash-lite
High
0CVSS v3.110
- Attack vector
- Network
- Complexity
- High
- Privileges
- Low
- User action
- None
- Impact
- Full C/I/A compromise
- Weakness
- CWE-98
What an attacker gets
Authenticated attackers can execute arbitrary PHP code on the server. They need a subscriber-level account and the plugin's 'Minimum Role to View Statistics' set to a low-privilege role.
Root cause
The plugin fails to properly sanitize the 'tab' parameter, allowing for local file inclusion.
Affected versions
WP Statistics up to and including 14.16.19
CVSS v3.1 · CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Fix & remediation
Update to the latest version of WP Statistics. As an immediate mitigation, change the 'Minimum Role to View Statistics' setting to 'Administrator' to restrict access.
AI-suggested. Run it in staging first and check it against the vendor advisory. Why?
NVD description
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.
References
- https://plugins.trac.wordpress.org/browser/wp-statistics/tags/14.16.19/src/Abstracts/BaseTabView.php#L31
- https://plugins.trac.wordpress.org/browser/wp-statistics/tags/14.16.19/src/Components/View.php#L45
- https://plugins.trac.wordpress.org/browser/wp-statistics/tags/14.16.19/src/Service/Admin/PageInsights/Views/TabsView.php#L200
- https://plugins.trac.wordpress.org/browser/wp-statistics/tags/14.16.19/src/Service/Admin/PageInsights/Views/TabsView.php#L25
- https://plugins.trac.wordpress.org/browser/wp-statistics/tags/14.16.19/src/Service/Admin/Referrals/Views/TabsView.php#L223
- https://plugins.trac.wordpress.org/browser/wp-statistics/tags/14.16.19/src/Service/Admin/Referrals/Views/TabsView.php#L29
- https://plugins.trac.wordpress.org/browser/wp-statistics/tags/14.16.19/src/Utils/Request.php#L24
- https://plugins.trac.wordpress.org/changeset?reponame=&old=3822157%40wp-statistics&new=3822157%40wp-statistics
- https://www.wordfence.com/threat-intel/vulnerabilities/id/287932dc-d4f3-4512-b2f3-f06bd0a28ccc?source=cve
Related Critical / High CVEs
More fully triaged vulnerabilities you may want to check next.
- CVE-2026-973457.5HighUnauthenticated attackers can enumerate order IDs to harvest secret order keys. This allows them to access customer PII including names, emails, and billing addresses.
- CVE-2026-854167.2HighUnauthenticated attackers can inject malicious scripts into admin pages via public form submissions. These scripts execute in the browser of any administrator who views the injected leads.
- CVE-2026-854127.2HighUnauthenticated attackers can inject malicious scripts into your site that execute in a user's browser. They can obtain the required form nonce via an unprotected REST endpoint without needing any credentials.
- CVE-2026-760758.8HighAuthenticated attackers can achieve remote code execution by uploading and activating malicious plugins. This requires at least Subscriber-level access to the WordPress site.
- CVE-2026-1375568.8HighAuthenticated users with stacks:edit permissions can achieve remote code execution as root. They do this by sending a crafted path to the API to overwrite system files.
- CVE-2026-1375527.5HighRemote attackers can bypass two-factor authentication and forced password resets to gain full-access tokens. They need a user's valid username and password to exploit this.