CVE-2021-24762: The Perfect Survey WordPress plugin before 1.5.2 does not validate and escape the question_id GET parameter be
CVE-2021-24762 is a critical-severity flaw (CVSS 9.8) affecting perfect survey. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
The Perfect Survey WordPress plugin before 1.5.2 does not validate and escape the question_id GET parameter before using it in a SQL statement in the get_question AJAX action, allowing unauthenticated users to perform SQL injection.
Why this priority
- Critical severity
- EPSS top 1%: very likely to be exploited
- Public exploit reference
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.8 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 86.8% (top 1%) |
| CISA exploited list | No |
| Weakness | CWE-89 |
| Published | 2022-02-01 |
| 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
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- Exploit-DB: WordPress Plugin Perfect Survey - 1.5.1 - SQLi (Unauthenticated)
- Metasploit: WordPress Plugin Perfect Survey 1.5.1 SQLi (Unauthenticated)
- Nuclei scan template: WordPress Perfect Survey <1.5.2 - SQL Injection
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-24762?
perfect survey: upgrade to 1.5.2. Exact commands for each OS are on this page.
Is CVE-2021-24762 being exploited?
CVE-2021-24762 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-24762 affect?
CVE-2021-24762 affects perfect survey. Severity is critical (CVSS 9.8). The Perfect Survey WordPress plugin before 1.5.2 does not validate and escape the question_id GET parameter before using it in a SQL statement in the get_question AJAX action, allowing unauthenticated users to perform SQL injection.
How urgent is CVE-2021-24762?
Priority 69/100. Critical severity; EPSS top 1%: very likely to be exploited; Public exploit reference; Remotely exploitable, no login, no user action
Software pages
Related CVEs
- CVE-2021-24765 MEDIUM 6.1 UPGRADE The Perfect Survey WordPress plugin through 1.5.2 does not validate and escape the X-Forwarded-For header valu
- CVE-2021-24764 MEDIUM 6.1 UPGRADE The Perfect Survey WordPress plugin before 1.5.2 does not sanitise and escape multiple parameters (id and filt
- CVE-2021-24763 HIGH 8.8 UPGRADE The Perfect Survey WordPress plugin before 1.5.2 does not have proper authorisation nor CSRF checks in the sav