CVE-2022-25305 WP Statistics <= 13.1.5 Unauthenticated Stored Cross-Site Scripting via IP
Unauthenticated attackers can inject malicious scripts via the IP parameter, which execute when administrators view site statistics, potentially leading to account takeover.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2022-25305?
CVE-2022-25305 is a high-severity cross-site scripting vulnerability in WP Statistics, published on 24 Feb 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-79
Which versions are affected by CVE-2022-25305?
It affects 1 product.
Products include Veronalabs Wp Statistics.
How do I fix CVE-2022-25305?
No fix has been published for CVE-2022-25305 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2022-25305 being exploited?
There is no known exploitation of CVE-2022-25305 in the wild and no public exploit code.
Other vulnerabilities in WP Statistics
- CVE-2022-38074 WordPress WP Statistics Plugin <= 13.2.10 is vulnerable to SQL Injection
- CVE-2022-0651 WP Statistics <= 13.1.5 Unauthenticated Blind SQL Injection via current_page_type
- CVE-2022-25148 WP Statistics <= 13.1.5 Unauthenticated Blind SQL Injection via current_page_id
- CVE-2022-25149 WP Statistics <= 13.1.5 Unauthenticated Blind SQL Injection via IP
- CVE-2022-0513 WP Statistics <= 13.1.4 Unauthenticated Blind SQL Injection via exclusion_reason
Sources
Also known as GHSA-vm77-69v7-mqr2.