What’s Vulnerable › Vulnerabilities
CVE-2022-25307: WP Statistics <= 13.1.5 Unauthenticated Stored Cross-Site Scripting via platform
- Severity: medium (CVSS 6.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.4% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2022-02-24 · updated 2026-06-17
- Weakness: CWE-79
Description
The WP Statistics WordPress plugin is vulnerable to Cross-Site Scripting due to insufficient escaping and sanitization of the platform parameter found in the ~/includes/class-wp-statistics-hits.php file which allows attackers to inject arbitrary web scripts onto several pages that execute when site administrators view a sites statistics, in versions up to and including 13.1.5.
Affected products
- WP Statistics: through 13.1.5
References
- https://gist.github.com/Xib3rR4dAr/8090a6d026d4601083cff80aa80de7eb
- https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=2679983%40wp-statistics&new=2679983%40wp-statistics&sfp_email=&sfph_mail=
- https://www.wordfence.com/vulnerability-advisories/#CVE-2022-25307
- https://gist.github.com/Xib3rR4dAr/8090a6d026d4601083cff80aa80de7eb
- https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=2679983%40wp-statistics&new=2679983%40wp-statistics&sfp_email=&sfph_mail=
- https://www.wordfence.com/vulnerability-advisories/#CVE-2022-25307
Get alerted when CVE-2022-25307 or the next vulnerability affects your stack