Cross-site scripting in wp-buy Visitor Traffic Real Time Statistics
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-79.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-03 Threatist record created from CVE-2026-97341
- 2026-10-03 Alias added: GHSA-4mc8-9rx9-vcjv
- 2026-10-03 CISA SSVC decision points changed
References
Other 7
- https://www.wordfence.com/threat-intel/vulnerabilities/id/5349815d-a9e4-431a-8da7-0d7d68b7d427?source=cve
- https://plugins.trac.wordpress.org/browser/visitors-traffic-real-time-statistics/tags/8.14/functions.php#L4735
- https://plugins.trac.wordpress.org/browser/visitors-traffic-real-time-statistics/tags/8.14/functions.php#L3756
- https://plugins.trac.wordpress.org/browser/visitors-traffic-real-time-statistics/tags/8.14/functions.php#L3407
- https://plugins.trac.wordpress.org/browser/visitors-traffic-real-time-statistics/tags/8.14/WPHitsCounter.php#L877
- https://plugins.trac.wordpress.org/browser/visitors-traffic-real-time-statistics/tags/8.14/js/ahcfree_js_scripts.js#L1036
- https://plugins.trac.wordpress.org/changeset?reponame=&old=3722792%40visitors-traffic-real-time-statistics&new=3722792%40visitors-traffic-real-time-statistics
More wp-buy vulnerabilities
- TI-2022-03943 Login as User or Customer < 3.3 - Unauthenticated Privilege Escalation to Admin CVSS 3.1CRITICAL 9.8
- TI-2024-06199 WP Content Copy Protection & No Right Click (premium) < 15.3 - Open Redirect CVSS 3.1MEDIUM 6.1
- TI-2023-06631 Login as User or Customer <= 3.8 - Admin Account Takeover CVSS 3.1MEDIUM 4.9
- TI-2024-06202 WP Content Copy Protection & No Right Click (premium) <= 15.0 - Admin+ Stored XSS CVSS 3.1MEDIUM 4.8
- TI-2023-28136 WordPress Login as User or Customer plugin <= 3.8 - Unauthenticated Account Takeover vulnerability CVSS 3.1CRITICAL 9.8
- TI-2024-36323 WordPress Limit Login Attempts plugin <= 5.5 - SQL Injection vulnerability CVSS 3.1CRITICAL 9.3
Sources
- CVE-2026-97341 · CVE Program
- CVE-2026-97341 · NVD
- FIRST EPSS
- GHSA-4mc8-9rx9-vcjv · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences