Skip to main content

WP-Stats CVE-2026-66426

| EUVDEUVD-2026-57861 HIGH
Cross-site Scripting (XSS) (CWE-79)
2026-08-13 Patchstack GHSA-2cpq-w364-2w6q
7.1
CVSS 3.1 · Vendor: Patchstack
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Identify WordPress site running WP-Stats ≤2.56
  2. Delivery
    Craft URL with embedded XSS payload
  3. Exploit
    Deliver link to admin via phishing
  4. Install
    Admin clicks link while authenticated
  5. C2
    Plugin renders unsanitized input in admin browser
  6. Execute
    Injected script executes in admin session context
  7. Impact
    Exfiltrate 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

WP-Stats n/a ≤2.56

Affected Packages

euvd wp_stats no fix

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

Vendor (Patchstack) PRIMARY 7.1 HIGH
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L
vuln.today AI 6.1 MEDIUM

Reflected XSS with scope change supports C:L and I:L; availability impact does not apply to this class of injection vulnerability.

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (Patchstack).

CVSS VectorVendor: Patchstack

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
Low

DescriptionCVE.org

Unauthenticated Cross Site Scripting (XSS) in WP-Stats <= 2.56 versions.

Executive ViewAI

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.2%
Top 92% exploitable
Prevalence
Low
niche WordPress statistics plugin with limited adoption relative to mainstream alternatives
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy