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. |
| Impact | The CVSS 3.1 score of 6.4 (Medium) reflects a network-accessible vulnerability requiring authenticated access with limited privilege (PR:L, contributor role) and low confidentiality and integrity impact (C:L, I:L) but no availability impact (A:N). The scope is changed (S:C), meaning the vulnerability can affect resources outside the vulnerable component. However, real-world risk is elevated by WordPress's prevalence and the fact that many sites grant contributor access to multiple users (content creators, freelancers). The authenticated requirement (PR:L per CVSS vector) is significant; this is not an unauthenticated RCE. No KEV status or public exploit code is referenced in the available data, suggesting this is not currently being actively exploited at scale, though the straightforward nature of stored XSS in WordPress shortcodes makes weaponization trivial. The risk is practical and material for any WordPress site with multiple contributors, but the barrier (authenticated access) prevents mass exploitation of unpatched sites. |
| Exploit ScenarioDerived | A WordPress site with multiple contributors (e.g., a news organization or multi-author blog) has the vulnerable plugin installed. An attacker with legitimate contributor credentials, or an attacker who compromises a contributor account via phishing or password reuse, creates or edits a post and embeds a malicious shortcode: [wsm_showDayStatsGraph malicious_attr=<script>/* steal session cookies */</script>]. When published, the stored XSS payload executes in the browsers of all site visitors, including administrators, allowing the attacker to harvest session tokens, redirect users to malware, or perform administrative actions on behalf of victims. No special technical sophistication is required beyond basic JavaScript knowledge and access to the WordPress editor. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 08, 2026
Stored Cross-Site Scripting in WP Visitor Statistics plugin versions up to 8.4 allows authenticated contributors and higher-privileged users to inject arbitrary JavaScript through the 'wsm_showDayStatsGraph' shortcode due to insufficient input sanitization and output escaping. Injected scripts execute in the context of any user accessing the affected page, potentially compromising site visitors and enabling account takeover or malware distribution. No public exploit code or active exploitation has been confirmed at this time.
RemediationAI
Update the WP Visitor Statistics plugin to the patched version released after 8.4 via the WordPress plugin dashboard or by directly upgrading from plugins.trac.wordpress.org. The upstream fix is available in the wp-stats-manager repository trunk (see changeset reference in provided data). Site administrators should immediately audit all pages and posts for suspicious shortcode attributes, particularly those using 'wsm_showDayStatsGraph', and review contributor-level user accounts to ensure legitimate access. Until patching is complete, restrict the use of the 'wsm_showDayStatsGraph' shortcode or disable the plugin entirely. For detailed remediation guidance, refer to the Wordfence vulnerability advisory at https://www.wordfence.com/threat-intel/vulnerabilities/id/3b6916d3-3944-43a2-8d5e-424f86c753ad?source=cve.
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
The vulnerability exists in the WordPress plugin WP Visitor Statistics (wp-stats-manager) and stems from improper handling of user-supplied attributes in the 'wsm_showDayStatsGraph' shortcode handler. The root cause is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation), a classic Stored XSS weakness. The affected code in wsm_statistics.php (around line 2272 and 2392) and wsm_init.php (line 208) processes shortcode attributes without adequate sanitization before rendering them in HTML context. Because the malicious payload is stored in the WordPress database as part of page or post content, it persists and executes each time the page is viewed, affecting all site visitors regardless of their privileges.
Know when Wp Visitor Statistics Real Time Traffic 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:L/UI:N/S:C/C:L/I:L/A:N
Primary rating from Vendor (Wordfence) · only source for this CVE.
CVSS VectorVendor: Wordfence
DescriptionCVE.org
The WP Visitor Statistics (Real Time Traffic) plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'wsm_showDayStatsGraph' shortcode in all versions up to, and including, 8.4 due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
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.
Unauthenticated SQL injection in the WP Visitor Statistics (Real Time Traffic) WordPress plugin through 8.7 lets any rem
Stored cross-site scripting in the WP Visitor Statistics (Real Time Traffic) WordPress plugin, affecting all versions up
Stored cross-site scripting in the WordPress plugin WP Visitor Statistics (Real Time Traffic) through version 8.7.1 lets
Authenticated SQL injection in the WP Visitor Statistics (Real Time Traffic) WordPress plugin, affecting versions up to
EUVD-2026-20437
GHSA-4cxh-x4x5-vrrg
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB