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.
Metrics
CVSS 3.1 6.1/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| WP Statistics | WP Statistics | >= 13.1.5, <= 13.1.5 |
References
- https://gist.github.com/Xib3rR4dAr/af90cef7867583ab2de4cccea2a8c87dExploit, Third Party Advisory
- https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=2679983%40wp-statistics&new=2679983%40wp-statistics&sfp_email=&sfph_mail=Patch, Third Party Advisory
- https://www.wordfence.com/vulnerability-advisories/#CVE-2022-25305Third Party Advisory
- https://gist.github.com/Xib3rR4dAr/af90cef7867583ab2de4cccea2a8c87dExploit, Third Party Advisory
- https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=2679983%40wp-statistics&new=2679983%40wp-statistics&sfp_email=&sfph_mail=Patch, Third Party Advisory
- https://www.wordfence.com/vulnerability-advisories/#CVE-2022-25305Third Party Advisory
Timeline
- Published
- Feb 24, 2022
- Last modified
- Jun 17, 2026
- NVD status
- Modified