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

High 7.2 Published Updated

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.

Sources

Also known as GHSA-vm77-69v7-mqr2.

Is CVE-2022-25305 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free