# CVE-2021-24750: WP Visitor Statistics (Real Time Traffic) < 4.8 - Subscriber+ SQL Injection

- Severity: High 8.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 38.3%, higher than 98% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2021-12-21T08:45:29.000Z
- Modified: 2026-06-17T03:40:50.623Z
- Weaknesses: CWE-89
- Assigned by: WPScan

## 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

(As written by CVE List.)

## Affected

- Unknown WP Visitor Statistics (Real Time Traffic): from 4.8 before 4.8
- codepress visitor_statistics: before 4.8

## Every score

- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.5 Medium `AV:N/AC:L/Au:S/C:P/I:P/A:P`

## References

- <https://wpscan.com/vulnerability/7528aded-b8c9-4833-89d6-9cd7df3620de> (exploit, third-party-advisory)
- <http://packetstormsecurity.com/files/165433/WordPress-WP-Visitor-Statistics-4.7-SQL-Injection.html> (exploit, third-party-advisory, vdb-entry)
- <https://plugins.trac.wordpress.org/changeset/2622268> (patch, third-party-advisory)

## Sources

- CVE List: [CVE-2021-24750](https://www.cve.org/CVERecord?id=CVE-2021-24750), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-24750](https://nvd.nist.gov/vuln/detail/CVE-2021-24750), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-24750 · Whole record: https://cve.day/CVE-2021-24750.json · Rebuilt by cve.day 2026-11-25T22:58:06.091Z
