CVE-2022-25305
WordPress vulnerability analysis and mitigation

Overview

The WP Statistics WordPress plugin versions below 13.1.6 contained a stored Cross-Site Scripting (XSS) vulnerability identified as CVE-2022-25305. The vulnerability was discovered in February 2022 and affected over 600,000 active installations. The issue stemmed from insufficient escaping and sanitization of the IP, browser, and platform parameters in the ~/includes/class-wp-statistics-hits.php file (WPScan).

Technical details

The vulnerability existed due to improper sanitization of user input in the /wp-json/wp-statistics/v2/hit endpoint. Specifically, the IP parameter could be manipulated to inject malicious JavaScript code that would be stored and later executed when administrators viewed the site's statistics pages. The vulnerability received a CVSS score of 7.2 (High) (Wordfence).

Impact

When exploited, this vulnerability allowed attackers to inject arbitrary web scripts that would execute when site administrators accessed the WP Statistics dashboard at wp-admin/admin.php?page=wps_overview_page or related pages. This could potentially lead to unauthorized actions being performed with administrator privileges (WPScan).

Mitigation and workarounds

The vulnerability was patched in WP Statistics version 13.1.6. Site administrators were advised to update to this version or later to protect against this security issue (WPScan).

Additional resources


SourceThis report was generated using AI

Related WordPress vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-23550CRITICAL10
  • modular-connector
NoYesJan 14, 2026
CVE-2025-12166HIGH7.5
  • simply-schedule-appointments
NoYesJan 14, 2026
CVE-2026-0813MEDIUM4.4
  • short-link
NoNoJan 14, 2026
CVE-2026-0812MEDIUM4.4
  • linkedin-sc
NoNoJan 14, 2026
CVE-2026-0741MEDIUM4.4
  • electric-studio-download-counter
NoNoJan 14, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management