CVE-2022-25307 WP Statistics <= 13.1.5 Unauthenticated Stored Cross-Site Scripting via platform

High 7.2 Published Updated

Unauthenticated attackers can inject arbitrary scripts via the platform parameter, which execute when administrators view site statistics.

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-25307?

CVE-2022-25307 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 platform parameter found in the ~/includes/class-wp-statistics-hits.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-25307?

It affects 1 product.

Products include Veronalabs Wp Statistics.

How do I fix CVE-2022-25307?

No fix has been published for CVE-2022-25307 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-25307 being exploited?

There is no known exploitation of CVE-2022-25307 in the wild and no public exploit code.

Sources

Also known as GHSA-rx84-8xr7-vgxm.

Is CVE-2022-25307 in your software?

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

Check your SBOMs for free