Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconIdentify WordPress site running WP-Stats ≤2.56
-
DeliveryCraft URL with embedded XSS payload
-
ExploitDeliver link to admin via phishing
-
InstallAdmin clicks link while authenticated
-
C2Plugin renders unsanitized input in admin browser
-
ExecuteInjected script executes in admin session context
-
ImpactExfiltrate session cookie or create rogue admin account
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the target WordPress installation has the WP-Stats plugin installed and active in version 2.56 or earlier - no special server configuration beyond plugin activation is needed. The CVSS vector PR:N confirms that no authentication to the WordPress site is required of the attacker. The CVSS vector UI:R confirms that a victim must actively interact with a crafted link; passive server-side exploitation without user action is not possible. For maximum impact, the victim should be a logged-in WordPress administrator, as their session token is the primary high-value target. Exploitation is constrained by: the social engineering requirement to deliver and have the victim click a malicious link; the need for the victim to hold an active authenticated browser session for session-hijacking impact; and the relatively limited deployment footprint of WP-Stats compared to mainstream analytics plugins. |
| Impact | The CVSS base score of 7.1 (High) is substantiated by the network-accessible, zero-privilege attack vector and the scope-change designation, which elevates impact above typical reflected XSS. The primary mitigating factor is the mandatory user interaction requirement (UI:R): a victim - ideally a logged-in WordPress administrator - must be induced to click a crafted link, placing social engineering as a prerequisite. No EPSS score was included in the available data, and neither a CISA KEV listing nor public proof-of-concept code has been identified, suggesting exploitation has not yet reached opportunistic or automated scale. Despite these moderating factors, even a mid-sized municipal IT team in sopot managing a portfolio of WordPress sites should treat this as an urgent patching priority, since WordPress admin sessions represent high-value targets and phishing delivery of a crafted URL requires minimal attacker resources. The combination of zero authentication barrier, low attack complexity, and potential for full administrative session compromise keeps real-world risk elevated above what the UI:R requirement alone implies. |
| Exploit ScenarioDerived | An attacker identifies a WordPress site running WP-Stats 2.56, crafts a URL embedding a JavaScript payload in a vulnerable plugin parameter, and delivers the link to a WordPress administrator via a phishing email or social media message. When the administrator clicks the link while authenticated to the WordPress backend, the plugin renders the unsanitized input in their browser, executing the injected script in the context of their admin session and potentially exfiltrating the session cookie or silently creating a rogue administrator account. No public proof-of-concept code has been identified, but the attack mechanics are well-understood and require no specialized tooling beyond a crafted URL. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 13, 2026
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.
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.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
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.
Know when Wp Stats gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
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
DescriptionCVE.org
Unauthenticated Cross Site Scripting (XSS) in WP-Stats <= 2.56 versions.
Executive ViewAI
WP-Stats WordPress plugin (versions 2.56 and below) contains an unauthenticated reflected cross-site scripting (XSS) vulnerability enabling remote attackers to inject malicious JavaScript into administrator browsers and potentially compromise WordPress installations through session hijacking or credential theft. While no public exploit identified at time of analysis, the attack's simplicity and lack of authentication requirements create material risk for organizations using this plugin.
No vendor-released patch identified at time of analysis. Interim mitigations: disable WP-Stats plugin immediately; deploy WAF signatures to block known malicious payloads in vulnerable parameters; restrict administrative WordPress access to approved IP ranges; enhance monitoring of administrative login events and session activity for anomalies.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
EUVD-2026-57861
GHSA-2cpq-w364-2w6q
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB