7.2
CWE
79
Advisory Published
Updated

CVE-2022-25305: WP Statistics <= 13.1.5 Unauthenticated Stored Cross-Site Scripting via IP

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 SoftwareAffected VersionHow to fix
WP Statistics<=13.1.5

Remedy

Update to version 13.1.6 or newer.

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is CVE-2022-25305?

    CVE-2022-25305 is a vulnerability in the WP Statistics WordPress plugin that allows for Cross-Site Scripting attacks.

  • How does CVE-2022-25305 work?

    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.

  • How severe is CVE-2022-25305?

    CVE-2022-25305 has a severity rating of 6.1 (high).

  • Is there a fix for CVE-2022-25305?

    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.

  • Where can I find more information about CVE-2022-25305?

    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)

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203