First published: Thu Feb 24 2022(Updated: )
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.
Credit: security@wordfence.com
Affected Software | Affected Version | How to fix |
---|---|---|
WP Statistics | <=13.1.5 |
Update to version 13.1.6 or newer.
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2022-25305 is a vulnerability in the WP Statistics WordPress plugin that allows for Cross-Site Scripting attacks.
CVE-2022-25305 works by exploiting insufficient escaping and sanitization of the IP parameter in the ~/includes/class-wp-statistics-ip.php file, allowing attackers to inject arbitrary web scripts on several pages that execute when site administrators view certain reports.
CVE-2022-25305 has a severity rating of 6.1 (high).
Yes, a fix for CVE-2022-25305 is available. Users should update to version 13.1.6 or later of the WP Statistics WordPress plugin.
You can find more information about CVE-2022-25305 at the following references: [Reference 1](https://gist.github.com/Xib3rR4dAr/af90cef7867583ab2de4cccea2a8c87d), [Reference 2](https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=2679983%40wp-statistics&new=2679983%40wp-statistics&sfp_email=&sfph_mail=), [Reference 3](https://www.wordfence.com/vulnerability-advisories/#CVE-2022-25305)