# Track The Click <= 0.4.1 - Unauthenticated Stored Cross-Site Scripting via Click Tracking

- **ID:** WPSEC-2026-3414
- **Plugin:** Track The Click (`track-the-click`), https://wordpress.org/plugins/track-the-click/
- **Affected versions:** all versions before 0.4.2
- **Fixed in:** 0.4.2 (Update to 0.4.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 Medium, affected versions Medium (as of 2026-11-18)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/track-the-click
- **Fix released:** 2026-11-17
- **Published:** 2026-11-18
- **URL:** https://wpsec.com/vuln/WPSEC-2026-3414/

## Description

The Track The Click plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the public click-tracking endpoint in all versions up to, and including, 0.4.1 due to insufficient input sanitization of the tracked target URL, anchor text and page location, and insufficient output escaping of the derived domain values in the admin statistics table. This makes it possible for unauthenticated attackers to inject arbitrary web scripts that will execute whenever an administrator views the plugin's click statistics.

## References

- https://wpsec.com/vuln/WPSEC-2026-3414/
- https://plugins.svn.wordpress.org/track-the-click/tags/0.4.2/
- https://wordpress.org/plugins/track-the-click/

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

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.
