---
title: "CVE-2026-97341: Visitor Traffic Real Time Statistics WordPress Plugin - Stored XSS"
description: "Visitor Traffic Real Time Statistics WordPress plugin <= 8.16 contains a stored DOM-based cross-site scripting caused by insufficient sanitization of 'X-Real-IP' HTTP header in wp_ajax_nopriv_ahcfree_track_visitor endpoint, letting unauthenticated attackers inject scripts executed on user page access, exploit requires no authentication or special capabilities."
url: https://panop.io/threat-heartbeat/CVE-2026-97341/
---

# CVE-2026-97341 Visitor Traffic Real Time Statistics WordPress Plugin - Stored XSS

Visitor Traffic Real Time Statistics WordPress plugin <= 8.16 contains a stored DOM-based cross-site scripting caused by insufficient sanitization of 'X-Real-IP' HTTP header in wp\_ajax\_nopriv\_ahcfree\_track\_visitor endpoint, letting unauthenticated attackers inject scripts executed on user page access, exploit requires no authentication or special capabilities.

CVSS base score 7.2 /10

High

CISA KEV

Not listed

Public exploit

None known

Authentication

Not required

EPSS

0.27% chance of exploitation in 30 days

[View the NVD record ↗](https://nvd.nist.gov/vuln/detail/CVE-2026-97341)

## Details

Type

Stored XSS

Impact

Stored XSS

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N

Published

3 October 2026

Updated

15 October 2026

Weakness

[CWE-79](https://cwe.mitre.org/data/definitions/79.html)

## Vendor fix

Update to the latest version beyond 8.16.

Patching closes this CVE. It does not tell you which of your systems run the affected version, or what else is exposed alongside them.

## References

- [https://nvd.nist.gov/vuln/detail/CVE-2026-97341](https://nvd.nist.gov/vuln/detail/CVE-2026-97341)
- [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/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](https://plugins.trac.wordpress.org/changeset?reponame=&old=3722792%40visitors-traffic-real-time-statistics&new=3722792%40visitors-traffic-real-time-statistics)
- [https://www.wordfence.com/threat-intel/vulnerabilities/id/5349815d-a9e4-431a-8da7-0d7d68b7d427?source=cve](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/WPHitsCounter.php#L877](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/functions.php#L3407](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/functions.php#L3756](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#L4735](https://plugins.trac.wordpress.org/browser/visitors-traffic-real-time-statistics/tags/8.14/functions.php#L4735)

[← All CVEs](https://panop.io/threat-heartbeat/)

## What this record can't tell you

- Whether you run the affected software, and where
- Whether an attacker can actually reach and exploit it
- The misconfigurations that never get a CVE number
- What it would cost the business, ranked into what to fix first

Panop answers these inside your environment, for this CVE and every other finding.

[Book a demo](https://panop.io/demo)
