Vulnerability in WP Statistics – Simple, privacy-friendly Google Analytics alternative — CVE-2026-97652
MediumSeverity
0.5%Estimated exploit probability
600,000+ sitesInstalls
14.16.15Fixed in
What to do now
Update WP Statistics – Simple, privacy-friendly Google Analytics alternative to 14.16.15 or later.
Affected versions
- Everything up to and including 14.16.14
Affected: WP Statistics – Simple, privacy-friendly Google Analytics alternative (plugin, wp-statistics)
What the vulnerability is
The WP Statistics – Simple, privacy-friendly Google Analytics alternative plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via REQUEST_URI Query-Parameter Key in all versions up to, and including, 14.16.14 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute if they can successfully trick a user into performing an action such as clicking on a link.
Sources
- https://github.com/wp-statistics/wp-statistics/pull/1148
- https://plugins.trac.wordpress.org/browser/wp-statistics/tags/14.16.14/assets/dev/javascript/filters/generator.js#L383
- https://plugins.trac.wordpress.org/browser/wp-statistics/tags/14.16.14/assets/dev/javascript/filters/generator.js#L392
- https://plugins.trac.wordpress.org/browser/wp-statistics/tags/14.16.14/src/Abstracts/MultiViewPage.php#L82
- https://plugins.trac.wordpress.org/browser/wp-statistics/tags/14.16.14/src/Service/Admin/Referrals/ReferralsPage.php#L258
- https://plugins.trac.wordpress.org/browser/wp-statistics/tags/14.16.14/src/Service/Admin/Referrals/ReferralsPage.php#L283