What the vulnerability does
01Description
The WP Statistics – The Most Popular Privacy-Friendly Analytics Plugin plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the User-Agent Header in all versions up to, and including, 14.5.4 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Explanation of Vulnerability in Simple Terms
02Summary
WP Statistics contains a cross-site scripting (XSS) vulnerability that allows unauthenticated attackers to inject malicious scripts into the site. The vulnerability affects all versions up to 14.15.4. When exploited, the injected code runs in visitors' browsers and can steal session data, redirect users, or deface content. The scope is changed, meaning the impact extends beyond the plugin itself to affect other site components.
What an attacker can do
03Attacker Capabilities
Inject malicious JavaScript that runs in visitors' browsers and affects other site components.
Potential impact on your site
04Site Impact
Visitors' browsers execute attacker-controlled code, risking session hijacking, credential theft, or malware distribution.
Conditions required to exploit
05Prerequisites
No authentication or user interaction required; attacker can exploit over the network.
Key dates
06Disclosure timeline
September 27, 2025
CVE published
April 8, 2026
Record updated