CVE-2021-24762: Perfect Survey WordPress - SQL Injection
- Cve: CVE-2021-24762
- Name: Perfect Survey WordPress - SQL Injection
- Description: 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.
- Impact: Unauthenticated attackers can execute arbitrary SQL commands, potentially leading to data theft, data tampering, or full database compromise.
- Remediation: Update to version 1.5.2 or later.
- Vulnerability type: sql_injection
- Vulnerability impact: information_disclosure, data_tampering
- Requirement type: none
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.86782
- Epss percentile: 0.99745
- Assignee: [email protected]
- Published at: 2022-02-01T13:15:08Z
- Age in days: 1757
- Modified at: 2026-06-17T03:40:51Z
- Patch available: yes
- Public exploits total: 5
- References total: 5
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-24762
- Nvd status: modified
- Checked, none or zero: public exploits capped, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command |
Known exploited entries
| List | Added date | Due date | Ransomware use |
|---|---|---|---|
| vulncheck | 2022-08-19 | — | no |
Nuclei templates
| Id | Url |
|---|---|
| CVE-2021-24762 | https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-24762.yaml |
Public exploits
| Url | Source | Added date |
|---|---|---|
| http://packetstormsecurity.com/files/166072/WordPress-Perfect-Survey-1.5.1-SQL-Injection.html | nvd | 2022-02-01 |
| https://wpscan.com/vulnerability/c1620905-7c31-4e62-80f5-1d9635be11ad | nvd | 2022-02-01 |
| https://github.com/NT1410/CVE-2021-24762 | poc-in-github | 2026-03-09 |
| https://github.com/c4cnm/Exploit_CVE-2021-24762 | poc-in-github | 2025-10-15 |
| https://github.com/c4cnm/Exploit_CVE-2021-24762.git | vulncheck-xdb | 2025-10-15 |
References
| Url | Source | Tags |
|---|---|---|
| http://packetstormsecurity.com/files/166072/WordPress-Perfect-Survey-1.5.1-SQL-Injection.html | nvd | Exploit, Third Party Advisory, VDB Entry |
| https://wpscan.com/vulnerability/c1620905-7c31-4e62-80f5-1d9635be11ad | nvd | Exploit, Third Party Advisory |
| https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-24762.yaml | nuclei_template | Nuclei Template |
| https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?host_type=src&vulnerability=cve-2021-24762 | vulncheck | Vulncheck Reported Exploitation |
| https://unit42.paloaltonetworks.com/recent-exploits-network-security-trends/ | vulncheck | Vulncheck Reported Exploitation |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| getperfectsurvey:perfect_survey | < 1.5.2 | no | nvd | /v1/products/getperfectsurvey/perfect_survey |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Known exploited by: vulncheck
- Vulncheck known exploited since: 2022-08-19
- Exploitation seen: yes
- Public exploit: yes
- Public exploit count: 5
- Public exploit first date: 2022-02-01
- Remote: yes
- Checked, none or zero: known exploited, initial access, authentication required
- Not known: known exploited since, initial access since, hackerone reports, exposed hosts