WP Statistics <= 14.16.4 - Unauthenticated Stored Cross-Site Scripting via 'utm_source' Parameter
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.
CVE-2026-5231 is a high severity with CVSS 7.2 Stored Cross-Site Scripting issue affecting the Plugin WP Statistics – Simple, privacy-friendly Google Analytics alternative. It affects Versions up to 14.16.4 and is fixed in 14.16.5.
CVE-2026-5231 is tracked for the Plugin WP Statistics – Simple, privacy-friendly Google Analytics alternative as high severity with CVSS 7.2. The affected range is Versions up to 14.16.4. Update WP Statistics – Simple, privacy-friendly Google Analytics alternative to 14.16.5 or newer where that version is compatible with the site.
| Software Type | Plugin |
|---|---|
| Software Slug |
wp-statistics
View on wordpress.org
|
| CVE | CVE-2026-5231 |
| Patched Versions |
14.16.5
|
| Affected Versions |
Versions up to 14.16.4
|
Related CVEs for WP Statistics – Simple, privacy-friendly Google Analytics alternative
These internal links group the same WordPress plugin by CVE, issue type, severity, and patch status so operators and search engines can connect the full vulnerability cluster.
WP Statistics <= 13.1.5 - Unauthenticated Blind SQL Injection via current_page_type
WP Statistics <= 13.1.5 - Unauthenticated Blind SQL Injection via IP
WP Statistics <= 13.1.5 - Unauthenticated SQL Injection
WP Statistics <= 13.1.4 - Unauthenticated Blind SQL Injection
WP Statistics <= 12.6.6.1 - Unauthenticated Blind SQL Injection
WP Statistics <= 13.2.10 - Authenticated (Subscriber+) SQL Injection
WP Statistics <= 12.0.7 - Authenticated SQL Injection
WP Statistics <= 13.0.7 - Unauthenticated SQL Injection
This record contains material that is subject to copyright
License: Defiant hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute this software vulnerability information. Any copy of the software vulnerability information you make for such purposes is authorized provided that you include a hyperlink to this vulnerability record and reproduce Defiant's copyright designation and this license in any such copy. Read more
License: CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE®). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy. Read more