Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-93367 Overview
CVE-2026-93367 is an unauthenticated stored Cross-Site Scripting (XSS) vulnerability in the Visitors Traffic Real Time Statistics Pro plugin for WordPress. The flaw affects all versions up to and including 11.22. Attackers exploit the page_title parameter of the ahcpro_track_visitor AJAX action, which is exposed to logged-out users via wp_ajax_nopriv_ahcpro_track_visitor. The plugin stores the input raw in the ahc_title_traffic.til_page_title column and later renders it as innerHTML in the administrator dashboard. This allows arbitrary JavaScript to execute in an administrator's session [CWE-79].
Critical Impact
Unauthenticated attackers can inject persistent JavaScript that executes with administrator privileges when the plugin dashboard loads, enabling account takeover and site compromise.
Affected Products
- Visitors Traffic Real Time Statistics Pro plugin for WordPress
- All versions up to and including 11.22
- WordPress sites with the plugin activated
Discovery Timeline
- 2026-10-02 - CVE-2026-93367 published to the National Vulnerability Database
- 2026-10-02 - Last updated in NVD database
Technical Details for CVE-2026-93367
Vulnerability Analysis
The vulnerability resides in the plugin's visitor-tracking AJAX endpoint. The ahcpro_track_visitor action is registered through wp_ajax_nopriv_ahcpro_track_visitor, making it reachable by unauthenticated clients. The handler accepts $_POST['page_title'] and writes the value directly to the ahc_title_traffic.til_page_title database column without sanitization. No input filters such as sanitize_text_field() or wp_kses() are applied before persistence.
The payload activates when an administrator views the plugin's dashboard. The 'Traffic by Title' DataTable injects the stored value into the DOM as innerHTML rather than using safe text rendering. Any HTML or <script> content stored in the column is parsed and executed by the administrator's browser.
Root Cause
The root cause is a combined failure of input validation and output encoding. The server-side handler trusts attacker-controlled POST data and persists it verbatim. The client-side DataTable renderer compounds the issue by assigning untrusted values through innerHTML instead of textContent or an escaping helper. This matches the classic stored XSS pattern described in [CWE-79].
Attack Vector
An attacker sends a crafted POST request to admin-ajax.php targeting the ahcpro_track_visitor action with a malicious page_title value. No authentication or user interaction is required to inject the payload. The script runs the next time any administrator opens the plugin's traffic dashboard. Payloads can create new administrator accounts, exfiltrate session cookies, or modify site content through the WordPress REST API using the victim's privileges.
Technical details are documented in the Wordfence Vulnerability Report.
Detection Methods for CVE-2026-93367
Indicators of Compromise
- POST requests to /wp-admin/admin-ajax.php with action=ahcpro_track_visitor containing HTML tags or JavaScript in the page_title parameter.
- Rows in the ahc_title_traffic table where til_page_title contains <script>, onerror=, onload=, or javascript: strings.
- Unexpected administrator accounts, modified user roles, or new plugins installed shortly after an admin visited the plugin dashboard.
Detection Strategies
- Query the plugin database table directly for suspicious markup: SELECT til_page_title FROM ahc_title_traffic WHERE til_page_title REGEXP '<|javascript:|on[a-z]+=';.
- Inspect web server access logs for unauthenticated POSTs invoking the ahcpro_track_visitor AJAX action.
- Monitor browser-side telemetry on wp-admin sessions for outbound requests to attacker-controlled domains originating from the plugin dashboard.
Monitoring Recommendations
- Deploy a web application firewall rule blocking HTML or script metacharacters in the page_title parameter of ahcpro_track_visitor requests.
- Alert on creation of new WordPress users with the administrator role outside of change windows.
- Audit wp_options and wp_users tables for modifications correlated with administrator access to the plugin dashboard.
How to Mitigate CVE-2026-93367
Immediate Actions Required
- Deactivate the Visitors Traffic Real Time Statistics Pro plugin until a patched release is confirmed.
- Audit the ahc_title_traffic table and purge any rows containing HTML or script content from til_page_title.
- Rotate administrator passwords and invalidate active sessions if the dashboard was accessed while the plugin was vulnerable.
Patch Information
No fixed version is listed in the NVD record at the time of publication. Review vendor updates on the WP-Buy Product Page and apply the first release that supersedes 11.22. Verify the fix sanitizes page_title server-side with sanitize_text_field() and escapes output using esc_html() or safe DataTable rendering.
Workarounds
- Block unauthenticated access to the ahcpro_track_visitor AJAX action via a web application firewall or .htaccess rule.
- Restrict /wp-admin/admin-ajax.php POSTs that include markup in page_title using regex-based WAF signatures.
- Limit administrator dashboard access to IP-allowlisted management workstations to reduce exposure to stored payloads.
# Example WAF rule (ModSecurity) blocking HTML in page_title for the vulnerable action
SecRule ARGS:action "@streq ahcpro_track_visitor" \
"id:1026933671,phase:2,chain,deny,status:403,log,msg:'CVE-2026-93367 stored XSS attempt'"
SecRule ARGS:page_title "@rx (?i)(<[^>]+>|javascript:|on[a-z]+\s*=)" "t:none"
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

