Track The Click <= 0.3.11 - Authenticated (Author+) SQL Injection via 'stats' REST Endpoint

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
CVE CVE-2023-5041
CVSS 8.8 (High)
Publicly Published September 26, 2023
Last Updated January 22, 2024
Researcher Karolis Narvilas


The Track The Click plugin for WordPress is vulnerable to time-based SQL Injection in versions up to, and including, 0.3.11 due to insufficient escaping on user supplied data submitted via the 'stats' REST endpoint and lack of sufficient preparation on the existing SQL query. This makes it possible for authenticated attackers, with author-level permissions and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database. NOTE: This issue was partially fixed in 0.3.11 and completely fixed in 0.3.12.



1 affected software package

Software Type Plugin
Software Slug track-the-click (view on
Patched? Yes
Remediation Update to version 0.3.12, or a newer patched version
Affected Version
  • <= 0.3.11
Patched Version
  • 0.3.12

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.