Vulnerability record · CVE-2021-24750 · published 21 December 2021
CVE-2021-24750: Codepress visitor statistics sql injection vulnerability
Codepress · Visitor Statistics
The WP Visitor Statistics (Real Time Traffic) WordPress plugin before 4.8 does not properly sanitise and escape the refUrl in the refDetails AJAX action, available to any authenticated user, which could allow users with a role as low as subscriber to perform SQL injection attacks
Description
The WP Visitor Statistics (Real Time Traffic) WordPress plugin before 4.8 does not properly sanitise and escape the refUrl in the refDetails AJAX action, available to any authenticated user, which could allow users with a role as low as subscriber to perform SQL injection attacks
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| http://packetstormsecurity.com/files/165433/WordPress-WP-Visitor-Statistics-4.7-SQL-Injection.html | ExploitThird Party AdvisoryVDB Entry |
| https://plugins.trac.wordpress.org/changeset/2622268 | PatchThird Party Advisory |
| https://wpscan.com/vulnerability/7528aded-b8c9-4833-89d6-9cd7df3620de | ExploitThird Party Advisory |
| http://packetstormsecurity.com/files/165433/WordPress-WP-Visitor-Statistics-4.7-SQL-Injection.html | ExploitThird Party AdvisoryVDB Entry |
| https://plugins.trac.wordpress.org/changeset/2622268 | PatchThird Party Advisory |
| https://wpscan.com/vulnerability/7528aded-b8c9-4833-89d6-9cd7df3620de | ExploitThird Party Advisory |
Track CVE-2021-24750 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2021-24750), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.