# Track, Analyze & Optimize by WP Tao <= 1.3.1 - Unauthenticated Stored Cross-Site Scripting via Tracked Pageview Value

- **ID:** WPSEC-2026-2820
- **Plugin:** Track, Analyze & Optimize by WP Tao (`wp-tao`), https://wordpress.org/plugins/wp-tao/
- **Affected versions:** from 1.1 before 1.3.2
- **Fixed in:** 1.3.2 (Update to 1.3.2 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 Low, affected versions None seen (as of 2026-11-10)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/wp-tao
- **Fix released:** 2026-11-09
- **Published:** 2026-11-10
- **URL:** https://wpsec.com/vuln/WPSEC-2026-2820/

## Description

The Track, Analyze & Optimize by WP Tao plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'event_value' parameter of the public 'wptao_event' AJAX action in versions 1.1 through 1.3.1. Pageview values were only filtered with wp_kses_post(), which leaves quotes in plain text, and the Most Visited Pages report printed the value in the link's title attribute and text without escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts that will execute whenever an administrator views the Most Visited Pages report.

## References

- https://wpsec.com/vuln/WPSEC-2026-2820/
- https://plugins.svn.wordpress.org/wp-tao/tags/1.3.2/
- https://wordpress.org/plugins/wp-tao/

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

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.
