# WP Visitor Statistics (Real Time Traffic) <= 8.7.1 - Unauthenticated Stored Cross-Site Scripting via 'os', 'browser' and 'res' Tracking Parameters

- **ID:** WPSEC-2026-1644
- **Plugin:** WP Visitor Statistics (Real Time Traffic) (`wp-stats-manager`), https://wordpress.org/plugins/wp-stats-manager/
- **Affected versions:** all versions before 8.8
- **Fixed in:** 8.8 (Update to 8.8 or later.)
- **Severity:** High 7.2 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N)
- **Weakness:** CWE-79
- **Usage among sites WPSec scans:** plugin Medium, affected versions Medium (as of 2026-10-25)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/wp-stats-manager
- **Fix released:** 2026-10-24
- **Published:** 2026-10-25
- **URL:** https://wpsec.com/vuln/WPSEC-2026-1644/

## Description

The WP Visitor Statistics (Real Time Traffic) plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'os', 'browser' and 'res' parameters of the public visitor-tracking request in all versions up to, and including, 8.7.1, due to insufficient input sanitization and output escaping. The plugin stores the operating system, browser and screen resolution names as HTML-entity-encoded text. The browser decodes them when it reads them back from the pie-chart data-graph attribute, and the chart legend then renders them as HTML. This makes it possible for unauthenticated attackers to inject arbitrary web scripts that execute when an administrator views the plugin's visitor statistics (OS, browser or screen resolution) pages.

## References

- https://wpsec.com/vuln/WPSEC-2026-1644/
- https://plugins.svn.wordpress.org/wp-stats-manager/tags/8.8/
- https://wordpress.org/plugins/wp-stats-manager/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-1644/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
