Skip to main content

WP Visitor Statistics EUVDEUVD-2026-91960

| CVE-2026-96267 HIGH
SQL Injection (CWE-89)
2026-10-03 Wordfence GHSA-f46r-g4h3-gxr2
7.5
CVSS 3.1 · Vendor: Wordfence
View

Attack ChainAIDerived

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

  1. Access
    Submit crafted referrer to wmcTrack endpoint
  2. Delivery
    Payload stored unescaped in wp_logVisit
  3. Exploit
    Admin opens Traffic Sources dashboard
  4. Execution
    Injected SQL runs in query
  5. Impact
    Extract sensitive database contents

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Persistence

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.7 installed and its visitor-tracking active, so that requests to the wmcTrack endpoint are logged into the wp_logVisit table with the raw 'fullRef' referrer value. The planting step needs no authentication or special configuration (reachable by any remote unauthenticated client), but the decisive LIMITING factor is the second-order trigger: the injected SQL does not execute until a logged-in administrator views the Traffic Sources dashboard, meaning exploitation depends on privileged victim activity and will not fire on a dormant or unmonitored admin panel.

Impact

This is a genuine but conditional risk rather than an emergency. The injection vector is attractive - CVSS AV:N/AC:L/PR:N/UI:N describes an unauthenticated, network-reachable, low-complexity SQL injection (CWE-89) with high confidentiality impact (C:H) and no integrity or availability impact, consistent with a data-extraction flaw. However, the description reveals a critical nuance the CVSS vector understates: this is a SECOND-ORDER injection. The attacker's crafted 'fullRef' referrer is merely STORED unescaped; the payload only executes when an administrator later opens the Traffic Sources dashboard. That means real-world exploitation depends on a privileged victim action, which the UI:N metric does not capture - I would argue UI:R/UI:P is more honest (see assessed vectors). No exploitation-probability enrichment was provided: there is no EPSS score, no CISA KEV listing, and no SSVC decision data in the input, so I cannot quantify likelihood or automatability. There is no public exploit identified at time of analysis. Net: credible, high-impact-to-confidentiality SQLi in a WordPress plugin, worth prompt patching, but the stored/delayed trigger and absence of any KEV/EPSS/POC signal argue against treating it as actively-exploited-grade urgency.

Exploit ScenarioDerived

An unauthenticated attacker sends an HTTP request to the plugin's wmcTrack tracking endpoint with a malicious SQL payload embedded in the referrer (fullRef) value, which the plugin persists verbatim into the wp_logVisit table. The next time a site administrator opens the Traffic Sources dashboard, the stored payload is concatenated into an unprepared query and executes, letting the attacker exfiltrate database contents such as user records and password hashes. No public exploit code was identified at time of analysis, and successful exploitation hinges on an admin subsequently viewing the affected dashboard.

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

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

Alert me

AnalysisAIv1 – Oct 03, 2026

Unauthenticated SQL injection in the WP Visitor Statistics (Real Time Traffic) WordPress plugin through 8.7 lets any remote client poison the wp_logVisit table by submitting a crafted referrer URL to the wmcTrack tracking endpoint; the injected SQL then fires inside the session of an administrator who opens the Traffic Sources dashboard, allowing extraction of sensitive data such as user password hashes and stored configuration secrets. The impact is confidentiality-only - no integrity or availability effect was assessed - and the attack is second-order, so it remains dormant until a privileged user views the affected report. This is a genuine but conditional risk rather than an emergency: no public exploit code and no confirmed active exploitation were identified at time of analysis, and the assessed vector (UI:R) reflects that a privileged victim must open the dashboard for the payload to execute.

RemediationAI

Upstream fix available (PR/commit); released patched version not independently confirmed - the plugin repository changeset at https://plugins.trac.wordpress.org/changeset?reponame=&old=3722831%40wp-stats-manager&new=3722831%40wp-stats-manager represents the fix work, so the primary action is to update WP Visitor Statistics to the first release newer than 8.7 once the corrected build is published, verifying the version against the Wordfence advisory (https://www.wordfence.com/threat-intel/vulnerabilities/id/8192cbb0-ea1f-4897-808c-67f5002d56fb?source=cve). If no updated release can be deployed immediately, the most reliable compensating control is to deactivate the plugin entirely until a patch is available, accepting the loss of visitor analytics; a narrower option is to block or rewrite external requests to the wmcTrack tracking endpoint at the WAF/reverse proxy, filtering referrer values that contain SQL metacharacters such as single quotes, UNION, or comment sequences - at the cost of possible false positives on legitimate URLs and no protection against rows already written to wp_logVisit. Because the injection only executes when an administrator loads the Traffic Sources dashboard, temporarily restricting access to that admin view (or limiting plugin admin pages to fully trusted accounts) reduces trigger opportunities, though it does not stop the attacker's unauthenticated planting step and offers no protection once the dashboard is opened. Finally, scrub existing wp_logVisit rows whose referrer column contains suspicious payload characters, since stored payloads remain live until deleted.

Affected VersionsENISA

WP Visitor Statistics (Real Time Traffic) 0 ≤8.7

Affected Packages

euvd wp_visitor_statistics_real_time_traffic 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

The flaw is a classic CWE-89 SQL injection in a WordPress plugin, but staged as a second-order (stored) injection. The plugin's tracking layer (wsm_requests.php, wsm_functions.php and the entry point wp-stats-manager.php in the 8.6 tag) accepts the 'fullRef' referrer value from inbound traffic and writes it into the wp_logVisit table without escaping, as reflected by the wsm_db.php code path referenced at line 1082. The unsanitized value is only concatenated into a query later, when the statistics reporting component (wsm_statistics.php, line ~3252) renders the Traffic Sources view, so the malicious SQL executes in the administrator's request context rather than the attacker's. The root cause is the absence of $wpdb->prepare()/esc_sql() on both the write and the read path - either fix alone would break the chain. The supplied CPE (cpe:2.3:a:osamaesh:wp_visitor_statistics_(real_time_traffic):*:*:*:*:*:*:*:*) uses wildcards and therefore does not encode a version bound; the affected range comes from the vendor description (all versions up to and including 8.7) and the tracer references, which point at the 8.6 source tag. Note the discrepancy between the vendor score of 7.5 with UI:N and our assessed vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N: the planting request is unauthenticated (PR:N) and needs no special configuration, but the decisive real-world limiter is user interaction on the administrator side, so the practical likelihood is lower than an immediately self-triggering injection.

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

Vendor (Wordfence) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
vuln.today AI 6.5 MEDIUM

Unauthenticated remote planting (AV:N/PR:N/AC:L) but the stored payload only executes when an administrator views the dashboard, so UI:R; data disclosure only means C:H, I:N, A:N.

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

Primary rating from Vendor (Wordfence).

CVSS VectorVendor: Wordfence

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

DescriptionCVE.org

The WP Visitor Statistics (Real Time Traffic) plugin for WordPress is vulnerable to generic SQL Injection via the 'fullRef' parameter in all versions up to, and including, 8.7 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for unauthenticated attackers to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database. This is a second-order SQL injection: an unauthenticated attacker submits a crafted referrer URL to the wmcTrack tracking endpoint, which persists the raw unescaped value into the wp_logVisit table, and the injection is triggered when an administrator next views the Traffic Sources dashboard.

Executive ViewAI

Why It Matters

Organizations using the WP Visitor Statistics (Real Time Traffic) WordPress plugin through version 8.7 face a high-severity SQL injection vulnerability that could allow remote attackers to extract sensitive data, including user password hashes and configuration secrets, from the WordPress database. The attack requires a privileged administrator to view the Traffic Sources dashboard to trigger the malicious payload, making it a conditional but serious risk. With no vendor-released patch identified at time of analysis, leadership should prioritize immediate mitigation to protect credential integrity and prevent lateral movement.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis; interim mitigations include disabling the plugin, restricting admin dashboard access, deploying WAF rules to sanitize referrer inputs, and monitoring the wp_logVisit table for anomalous entries.

Threat Intelligence Overview

EPSS Score
0.3%
Top 76% exploitable
Prevalence
Medium
WordPress analytics plugin with moderate install base, not platform-ubiquitous
Social Media
1
Sightings
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.3%
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
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

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

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

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