Description
The Visitor Traffic Real Time Statistics plugin for WordPress is vulnerable to Stored DOM-Based Cross-Site Scripting via 'X-Real-IP' HTTP Header in all versions up to, and including, 8.16 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This requires no authentication, no nonce, and no capability — the wp_ajax_nopriv_ahcfree_track_visitor endpoint accepts the forged X-Real-IP header from any unauthenticated HTTP request and stores the entity-encoded payload verbatim in the database.
Published: 2026-10-03
Score: 7.2 High
EPSS: < 1% Very Low
KEV: No
Impact: Stored DOM-Based Cross‑Site Scripting via the X-Real-IP header
Action: Patch Now
AI Analysis

Impact

The Visitor Traffic Real Time Statistics plugin has a stored DOM‑based XSS flaw that accepts an unsanitized X‑Real‑IP header. The plugin records the header's entity‑encoded payload directly into its database through the wp_ajax_nopriv_ahcfree_track_visitor endpoint. An attacker can therefore inject a script that will be executed in the browsers of any subsequent user who visits a page that renders the stored data. This can lead to data theft, session hijack, or defacement.

Affected Systems

WordPress sites that have installed the Visitor Traffic Real Time Statistics plugin from wp‑buy, in any release up to and including version 8.16. All copies of the plugin bundled with releases through 8.16 are vulnerable because the same code path is present across those versions.

Risk and Exploitability

The CVSS score of 7.2 indicates high severity; the flaw requires no authentication, nonce or capability and can be abused using only a forged HTTP header. Because the endpoint accepts any request, exploitation is straightforward. The EPSS score is not available and the vulnerability is not listed in CISA’s KEV catalog, but the ease of use and potential damage make it a serious risk for any affected WordPress installation.

Generated by OpenCVE AI on October 3, 2026 at 06:52 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Visitor Traffic Real Time Statistics plugin to the latest available version that removes the insecure handling of the X‑Real‑IP header.
  • If an update is not possible, configure the web server or a WAF to reject or strip the X‑Real‑IP header before it reaches the application, preventing stored payloads.
  • As a temporary measure, alter the plugin’s code to filter or escape any value taken from X‑Real‑IP before inserting it into the database, ensuring script tags cannot be persisted.

Generated by OpenCVE AI on October 3, 2026 at 06:52 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 03 Oct 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Sat, 03 Oct 2026 05:45:00 +0000

Type Values Removed Values Added
Description The Visitor Traffic Real Time Statistics plugin for WordPress is vulnerable to Stored DOM-Based Cross-Site Scripting via 'X-Real-IP' HTTP Header in all versions up to, and including, 8.16 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This requires no authentication, no nonce, and no capability — the wp_ajax_nopriv_ahcfree_track_visitor endpoint accepts the forged X-Real-IP header from any unauthenticated HTTP request and stores the entity-encoded payload verbatim in the database.
Title Visitor Traffic Real Time Statistics <= 8.16 - Unauthenticated Stored DOM-Based Cross-Site Scripting via 'X-Real-IP' HTTP Header
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 7.2, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-10-03T15:42:45.479Z

Reserved: 2026-09-24T12:24:02.694Z

Link: CVE-2026-97341

cve-icon Vulnrichment

Updated: 2026-10-03T15:39:28.521Z

cve-icon NVD

Status : Received

Published: 2026-10-03T06:16:49.323

Modified: 2026-10-03T16:16:48.910

Link: CVE-2026-97341

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-03T07:00:14Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')