WP Clinic
Log in Sign up

CVE · High

CVE-2026-5231 — WP Statistics – Simple, privacy-friendly Google Analytics alternative [wp-statistics] < 14.16.5

CVE Vulnerability Type Severity Affected Fixed in Published Status
CVE-2026-5231 WP Statistics – Simple, privacy-friendly Google Analytics alternative [wp-statistics] < 14.16.5 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') High 7.2 < 14.16.5 14.16.5 2026-04-16

CVE-2026-5231

The WP Statistics plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'utm_source' parameter in all versions up to, and including, 14.16.4. This is due to insufficient input sanitization and output escaping. The plugin's referral parser copies the raw utm_source value into the source_name field when a wildcard channel domain matches, and the chart renderer later inserts this value into legend markup via innerHTML without escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in admin pages that will execute whenever an administrator accesses the Referrals Overview or Social Media analytics pages.

Source: CVE.org

Scan your WordPress site free

No signup, no credit card — enter your URL and get a security report in seconds.