nday
CVE-2021-24750

WP Visitor Statistics (Real Time Traffic) < 4.8 - Subscriber+ SQL Injection

Unknown / WP Visitor Statistics (Real Time Traffic)

A public PoC appeared 15 days after disclosure. nday has no fix record for it yet; that does not mean no patch exists. Listed by 2 of 4 PoC sources: exploitdb and nuclei. Not in CISA KEV.

tags weakness typeSQL injection accessnetworkno user interaction exploitationExploit-DBnuclei
why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

SQL injection
CWE-89, stated by the CNA WPScan, NVD's analysts, and NVD, republishing [email protected]
network
AV:N in CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1) from NVD's analysts
no user interaction
UI:N in CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1) from NVD's analysts
Exploit-DB
Exploit-DB entries 50619
nuclei
nuclei templates CVE-2021-24750
stage
POC
disclosed
disclosure → PoC
T+15d POC is date-only
cvss
no score yet

Lifecycle

x axis UTC; dot = exact minute, wide bar = date only, hollow = unknown or inferred.
time unknown
DISdisclosed
2021-12-21T08:45Z
PATpatch
no record yet
ANAanalysis
no record yet
POCPoC
2022-01-05, date only
nuclei
ITWexploited
no record yet
KEVKEV
no record yet

Summary

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

Original text of the CVE record (cvelist), shown as published.

Event log

+DISdisclosed

CVE record published by WPScan.

src cvelist · nday , bulk import · raw
{
  "id": 63019,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2021-24750",
  "occurred_at": "2021-12-21T08:45:29Z",
  "observed_at": "2026-11-12T20:03:12.555163Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "state": "PUBLISHED",
    "date_published": "2021-12-21T08:45:29.000Z",
    "assigner_short_name": "WPScan"
  }
}
2022-01-05date only, from source
+POCpublic PoC

Exploit-DB lists public exploit code “WordPress Plugin WP Visitor Statistics 4.7 - SQL Injection (SQLi)” (EDB-50619).

src exploitdb 50619 · nday , bulk import · raw
{
  "id": 41644,
  "type": "poc_published",
  "source": "exploitdb",
  "url": "https://www.exploit-db.com/exploits/50619",
  "occurred_at": "2022-01-05T00:00:00Z",
  "observed_at": "2026-11-12T15:24:40.221206Z",
  "is_backfill": true,
  "dedupe_key": "50619",
  "detail": {
    "url": "https://www.exploit-db.com/exploits/50619",
    "file": "exploits/php/webapps/50619.py",
    "kind": "exploit",
    "tags": [],
    "type": "webapps",
    "title": "WordPress Plugin WP Visitor Statistics 4.7 - SQL Injection (SQLi)",
    "author": "Ron Jost",
    "edb_id": 50619,
    "cve_ids": [
      "CVE-2021-24750"
    ],
    "platform": "php",
    "verified": false,
    "precision": "day",
    "confidence": "curated",
    "date_added": "2022-01-05",
    "date_updated": "2022-01-05",
    "date_published": "2022-01-05"
  }
}
time unknownsource gave no time
+POCpublic PoC

Nuclei has detection template CVE-2021-24750 (WordPress Visitor Statistics (Real Time Traffic) <4.8 -SQL Injection). The source gives no release time for the template.

src nuclei · nday , bulk import · raw
{
  "id": 54471,
  "type": "poc_published",
  "source": "nuclei",
  "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-24750.yaml",
  "occurred_at": null,
  "observed_at": "2026-11-12T15:24:53.738369Z",
  "is_backfill": true,
  "dedupe_key": "CVE-2021-24750",
  "detail": {
    "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-24750.yaml",
    "kind": "detection_template",
    "title": "WordPress Visitor Statistics (Real Time Traffic) <4.8 -SQL Injection",
    "severity": "high",
    "confidence": "curated",
    "cvss_score": "8.8",
    "template_id": "CVE-2021-24750",
    "template_path": "http/cves/2021/CVE-2021-24750.yaml"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Researcher discussion

0 researchers mentioned this in the last 7 days

Posts on X by researchers on nday's list that mention this CVE, shown as posted. nday does not check them.

nday has not collected any post on X by listed researchers that mentions this CVE.

Discussion

0 comments

No comments yet.