WP Statistics <= 13.1.7 - Cross-Site Scripting

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
CVE CVE-2022-27231
CVSS 6.1 (Medium)
Publicly Published May 24, 2022
Last Updated January 22, 2024
Researcher Shogo Kumamaru


Cross-site scripting vulnerability exists in WP Statistics versions prior to 13.2.0 because it improperly processes a platform parameter. By exploiting this vulnerability, an arbitrary script may be executed on the web browser of the user who is logging in to the website using the product.



Vulnerability Details for WP Statistics – The Most Popular Privacy-Friendly Analytics Plugin

Software Type Plugin
Software Slug wp-statistics (view on wordpress.org)
Patched? Yes
Remediation Update to version 13.2.0, or a newer patched version
Affected Version
  • < 13.2.0
Patched Version
  • 13.2.0

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.