CVE-2021-24138: Unvalidated input in the AdRotate WordPress plugin, versions before 5.8.4, leads to Authenticated SQL injectio
CVE-2021-24138 is a medium-severity flaw (CVSS 5.5) affecting adrotate. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
Unvalidated input in the AdRotate WordPress plugin, versions before 5.8.4, leads to Authenticated SQL injection via param "id". This requires an admin privileged user.
Why this priority
- Public exploit reference
A fixed release or distro patch exists.
Risk facts
| CVSS score | 5.5 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | High |
| User interaction | None |
| EPSS exploit chance | 1.2% (top 31%) |
| CISA exploited list | No |
| Weakness | CWE-89 |
| Published | 2021-03-18 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2021-24138?
adrotate: upgrade to 5.8.4. Exact commands for each OS are on this page.
Is CVE-2021-24138 being exploited?
CVE-2021-24138 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2021-24138 affect?
CVE-2021-24138 affects adrotate. Severity is medium (CVSS 5.5). Unvalidated input in the AdRotate WordPress plugin, versions before 5.8.4, leads to Authenticated SQL injection via param "id". This requires an admin privileged user.
How urgent is CVE-2021-24138?
Priority 41/100. Public exploit reference
Software pages
Related CVEs
- CVE-2022-0662 MEDIUM 4.8 UPGRADE The AdRotate WordPress plugin before 5.8.23 does not sanitise and escape Advert Names which could allow high p
- CVE-2022-0649 MEDIUM 4.8 UPGRADE The AdRotate WordPress plugin before 5.8.23 does not escape Group Names, which could allow high privilege user