Severity by source
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L
Reflected XSS with scope change supports C:L and I:L; availability impact does not apply to this class of injection vulnerability.
Primary rating from Vendor (Patchstack).
CVSS VectorVendor: Patchstack
Lifecycle Timeline
2DescriptionCVE.org
Unauthenticated Cross Site Scripting (XSS) in WP-Stats <= 2.56 versions.
AnalysisAI
Unauthenticated reflected XSS in the WP-Stats WordPress plugin (versions 2.56 and below) enables remote attackers to inject arbitrary JavaScript into victim browsers without requiring any authentication to the target site. Because the CVSS vector carries a scope change (S:C), a successful attack can escape the plugin's security boundary and execute within the administrator's browser session, enabling session hijacking, credential harvesting, or backdoor injection into the WordPress installation. No public exploit code or CISA KEV listing has been identified at time of analysis, but the zero-privilege attack vector and low complexity make this straightforward to weaponize via a phishing link once a suitable victim is identified.
Technical ContextAI
WP-Stats is a site-statistics tracking plugin for WordPress developed by Lester Chan, confirmed by CPE cpe:2.3:a:lester_chan:wp-stats:*:*:*:*:*:*:*:*. CWE-79 (Improper Neutralization of Input During Web Page Generation) identifies the root cause as a failure to sanitize or encode user-supplied data before it is rendered into HTML output. In the WordPress plugin ecosystem, this pattern typically occurs when GET or POST parameters, URL fragments, or referrer values are echoed back into page output without escaping. The scope change component (S:C) in the CVSS vector is significant: it indicates the injected script executes in a security context outside the plugin's own boundary - most critically within an authenticated administrator browser session - enabling an attacker to leverage the victim's existing privileges for further compromise of the WordPress installation.
RemediationAI
The primary remediation is to update WP-Stats to a version released after 2.56 once a patched build is published by the plugin author Lester Chan. No exact patched version number was confirmed in the available input data; administrators should verify the current release directly via the WordPress.org plugin repository changelog and the Patchstack advisory at https://patchstack.com/database/wordpress/plugin/wp-stats/vulnerability/wordpress-wp-stats-plugin-2-56-cross-site-scripting-xss-vulnerability?_s_id=cve. As an immediate interim measure, deactivating or uninstalling WP-Stats removes the attack surface entirely, though this eliminates all statistical tracking functionality provided by the plugin. Alternatively, deploying a web application firewall with XSS filtering rules - such as Patchstack's virtual patching service - can block exploitation attempts at the network perimeter without requiring plugin removal; note that WAF-based controls can be bypassed by sufficiently motivated attackers and should not substitute for patching once a fix is available.
Same weakness CWE-79 – Cross-site Scripting (XSS)
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-57861
GHSA-2cpq-w364-2w6q