{"schemaVersion":3,"id":"CVE-2026-97341","aliases":[],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2026-10-03T05:29:14.083Z","modified":"2026-10-03T15:42:45.479Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.2,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.2,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.2,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"wordfence","score":7.2,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00272,"percentile":0.18458,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-10-03T00:00:00.000Z","score":0.00272,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00272,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00272,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00272,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00272,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00272,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00272,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00272,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00272,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00272,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00272,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00272,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00272,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00272,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00272,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00272,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00272,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00272,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00272,"percentile":0.18458}],"last30":[{"date":"2026-10-03T00:00:00.000Z","score":0.00272,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00272,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00272,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00272,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00272,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00272,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00272,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00272,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00272,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00272,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00272,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00272,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00272,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00272,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00272,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00272,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00272,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00272,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00272,"percentile":0.18458}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","description":"The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/79.html"}],"affected":[{"vendor":"wordpress","product":"visitors-traffic-real-time-statistics","name":"Visitor Traffic Real Time Statistics","label":"visitors-traffic-real-time-statistics","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 8.16 (fixed in 8.17)","noFixRecorded":false,"fixedIn":"8.17"}],"versionsText":"≤ 8.16 (fixed in 8.17)","eol":null,"hubHref":null},{"vendor":"wp-buy","product":"visitor_traffic_real_time_statistics","name":"visitor traffic real time statistics","label":"visitor_traffic_real_time_statistics","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 8.16","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 8.16","eol":null,"hubHref":"/vendor/wp-buy/visitor_traffic_real_time_statistics"}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/5349815d-a9e4-431a-8da7-0d7d68b7d427?source=cve","label":"www.wordfence.com/threat-intel/vulnerabilities/id/5349815d-a9e4-431a-8da7-0d7d68b7d427?source=cve","hostname":"www.wordfence.com","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/visitors-traffic-real-time-statistics/tags/8.14/functions.php#L4735","label":"plugins.trac.wordpress.org/browser/visitors-traffic-real-time-statistics/tags/8.14/functions.php","hostname":"plugins.trac.wordpress.org","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/visitors-traffic-real-time-statistics/tags/8.14/functions.php#L3756","label":"plugins.trac.wordpress.org/browser/visitors-traffic-real-time-statistics/tags/8.14/functions.php","hostname":"plugins.trac.wordpress.org","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/visitors-traffic-real-time-statistics/tags/8.14/functions.php#L3407","label":"plugins.trac.wordpress.org/browser/visitors-traffic-real-time-statistics/tags/8.14/functions.php","hostname":"plugins.trac.wordpress.org","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/visitors-traffic-real-time-statistics/tags/8.14/WPHitsCounter.php#L877","label":"plugins.trac.wordpress.org/browser/visitors-traffic-real-time-statistics/tags/8.14/WPHitsCounter.php","hostname":"plugins.trac.wordpress.org","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/visitors-traffic-real-time-statistics/tags/8.14/js/ahcfree_js_scripts.js#L1036","label":"plugins.trac.wordpress.org/browser/…","hostname":"plugins.trac.wordpress.org","tags":[]},{"url":"https://plugins.trac.wordpress.org/changeset?reponame=&old=3722792%40visitors-traffic-real-time-statistics&new=3722792%40visitors-traffic-real-time-statistics","label":"plugins.trac.wordpress.org/changeset","hostname":"plugins.trac.wordpress.org","tags":[]},{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/5349815d-a9e4-431a-8da7-0d7d68b7d427","label":"www.wordfence.com/threat-intel/vulnerabilities/id/5349815d-a9e4-431a-8da7-0d7d68b7d427","hostname":"www.wordfence.com","tags":["Vendor Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-10-03T05:29:14.083Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-10-03T15:42:45.479Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":29,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T09:56:56.210Z","stale":false,"partial":false}}