What’s Vulnerable › Vulnerabilities
CVE-2022-25305: WP Statistics <= 13.1.5 Unauthenticated Stored Cross-Site Scripting via IP
- Severity: medium (CVSS 6.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 78.9% 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 IP parameter found in the ~/includes/class-wp-statistics-ip.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/af90cef7867583ab2de4cccea2a8c87d
- 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-25305
- https://gist.github.com/Xib3rR4dAr/af90cef7867583ab2de4cccea2a8c87d
- 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-25305
Get alerted when CVE-2022-25305 or the next vulnerability affects your stack