WP Visitor Statistics CVE-2025-49400
CRITICALAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend HTTP requests with XSS payload in visitor metadata
-
DeliveryPlugin stores unsanitized data in WordPress database
-
ExploitAdministrator views statistics dashboard
-
ExecutionMalicious script executes in admin browser
-
PersistSteal session cookies or perform admin actions
-
ImpactEstablish persistent backdoor access
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 the WP Visitor Statistics (Real Time Traffic) plugin version 8.2 or earlier to be installed and active on a WordPress site. The attacker must identify which visitor data fields (User-Agent, referrer, IP metadata, search terms, or other logged parameters) are displayed in the administrative interface without proper output encoding. Successful payload execution depends on a WordPress administrator or privileged user accessing the specific plugin page where the malicious visitor data is rendered - typically the dashboard statistics widget or dedicated visitor logs page. The CVSS vector PR:N/UI:N (no privileges, no user interaction) is misleading: while initial payload injection requires no authentication, exploitation impact (credential theft, admin access) requires administrator interaction with the stored malicious content. Sites not actively monitoring visitor statistics or with infrequent admin logins face reduced practical risk. Network-level access restrictions on WordPress admin URLs (/wp-admin/) further limit exploitation surface. |
| Impact | The CVSS vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H assigns a critical 9.8 score, suggesting network-accessible exploitation requiring no authentication or user interaction with high impact across confidentiality, integrity, and availability. However, multiple risk signals contradict this severity assessment. The EPSS score of 0.03% (8th percentile) indicates exceptionally low real-world exploitation probability based on actual threat intelligence. The vulnerability is NOT listed in CISA KEV, confirming no federal agency has observed active exploitation. The UI:N (no user interaction) metric appears inconsistent with typical stored XSS exploitation patterns, which generally require an administrator or privileged user to view the malicious content - suggesting the CVSS vector may misrepresent actual attack requirements. The Patchstack reference confirms this is stored XSS, which typically requires viewing stored data (implicit user interaction), contradicting the UI:N rating. Real-world risk is LOW to MODERATE: while the vulnerability is legitimate, exploitation requires attackers to inject payloads that administrators will subsequently view, and observed exploitation activity is minimal. Priority should be based on whether the plugin is actively used and whether administrative access logs show suspicious visitor data. |
| Exploit ScenarioDerived | An unauthenticated attacker crafts malicious HTTP requests to the vulnerable WordPress site with JavaScript payloads embedded in User-Agent headers, referrer strings, or other visitor metadata fields that the WP Visitor Statistics plugin logs. The plugin stores these unsanitized payloads in the WordPress database. When a site administrator views the visitor statistics dashboard or reports page, the stored JavaScript executes in their browser context, stealing admin session cookies or WordPress nonces and transmitting them to the attacker's server. The attacker then uses the stolen credentials to access the WordPress admin panel, install backdoors, or deface the site. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Apr 28, 2026
Stored cross-site scripting in WP Visitor Statistics (Real Time Traffic) plugin versions ≤8.2 allows remote unauthenticated attackers to inject malicious scripts into the WordPress database, leading to credential theft, session hijacking, or administrative account compromise. Reported by Patchstack's security team with EPSS exploitation probability of only 0.03% (8th percentile), indicating extremely low observed exploitation likelihood despite the critical CVSS 9.8 rating. No CISA KEV listing or public POC identified at time of analysis.
Earlier versions of this analysis (1)
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in osama.esh WP Visitor Statistics (Real Time Traffic) allows Stored XSS.2. Rated medium severity (CVSS 6.5), this vulnerability is remotely exploitable, low attack complexity. No vendor patch available.
RemediationAI
Upgrade WP Visitor Statistics (Real Time Traffic) plugin to version 8.3 or later if available, or remove the plugin entirely if not business-critical. Check the WordPress.org plugin repository or contact the developer osama.esh for the patched release. If immediate upgrade is not feasible, implement these compensating controls with noted trade-offs: (1) Restrict WordPress administrative dashboard access to trusted IP addresses via .htaccess or firewall rules (limits operational flexibility for remote administrators). (2) Implement Content Security Policy headers to block inline script execution (may break legitimate plugin functionality that relies on inline JavaScript). (3) Disable the plugin temporarily and use alternative visitor statistics tools like Jetpack Stats or Google Analytics (loses real-time traffic visibility within WordPress). (4) Review stored visitor data in the plugin's database tables for suspicious HTML/JavaScript content and sanitize manually (labor-intensive and requires database expertise). Advisory details: https://patchstack.com/database/wordpress/plugin/wp-stats-manager/vulnerability/wordpress-wp-visitor-statistics-real-time-traffic-plugin-8-2-cross-site-scripting-xss-vulnerability.
Affected ProductsAI
WordPress sites running WP Visitor Statistics (Real Time Traffic) plugin by osama.esh, versions 8.2 and earlier. The vulnerability affects all installations of this plugin within the specified version range. Patchstack advisory available at https://patchstack.com/database/wordpress/plugin/wp-stats-manager/vulnerability/wordpress-wp-visitor-statistics-real-time-traffic-plugin-8-2-cross-site-scripting-xss-vulnerability. Note that the second reference URL appears to reference an unrelated plugin (PressApps Knowledge Base) and may be a data correlation error in the NVD record.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
This vulnerability stems from improper input validation and output encoding (CWE-79) in the WP Visitor Statistics (Real Time Traffic) WordPress plugin. The plugin fails to sanitize user-supplied data before storing it in the WordPress database and rendering it in administrative or public-facing pages. Stored XSS (also called persistent XSS) is particularly dangerous because the malicious payload remains in the database and executes whenever the compromised data is displayed, affecting multiple users over time rather than requiring per-victim social engineering. The vulnerability exists in versions up to and including 8.2, affecting WordPress installations with this plugin active.
Know when Wordpress Plugin 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:N/S:U/C:H/I:H/A:H
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
4DescriptionCVE.org
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in osama.esh WP Visitor Statistics (Real Time Traffic) allows Stored XSS. This issue affects WP Visitor Statistics (Real Time Traffic): from n/a through 8.2.
Executive ViewAI
A critical stored cross-site scripting vulnerability in WP Visitor Statistics plugin (versions ≤8.2) allows unauthenticated attackers to inject malicious scripts into WordPress databases, potentially enabling credential theft and administrative account compromise. Despite the CVSS 9.8 rating, observed exploitation remains extremely low (0.03% EPSS probability), but the attack requires no authentication and impacts any WordPress site running the vulnerable plugin, making it a priority remediation target for organizations using this plugin.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Immediately deactivate the plugin to prevent new injections; (2) Apply Web Application Firewall (WAF) rules to block script injection patterns targeting the plugin; (3) Enforce strict Content Security Policy (CSP) headers with script-src restrictions; (4) Conduct database sanitization to remove existing malicious payloads; (5) Implement file integrity monitoring on WordPress core and plugin directories; (6) Monitor for unauthorized administrative account creation or privilege escalation.
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.
More in Wordpress Plugin
View allThe Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil
Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote
The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner
The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint
The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut
The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via
The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based
SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a
The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i
The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base
The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in
NVD
CVE.org
EPSS
GitHub PoC
Exploit-DB