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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | Perfect Survey | 1.5.2 – < 1.5.2 | 1.5.2 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Metasploit 1 module
-
WordPress Plugin Perfect Survey 1.5.1 SQLi (Unauthenticated)
auxiliary/scanner/http/wp_perfect_survey_sqli
Exploit-DB 1
- WordPress Plugin Perfect Survey - 1.5.1 - SQLi (Unauthenticated) EDB-50766 · webapps · Feb 21, 2022
GitHub 2 repositories
-
c4cnm/Exploit_CVE-2021-24762 ★ 1 · Oct 15, 2025
This repo shows an exploit to CVE-2021-24762. This is an Blind SQLi exploit that, on default config, greps the admin password.
-
NT1410/CVE-2021-24762 ★ 0 · Mar 9, 2026
learning github
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Automated scanner template
A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.
- WordPress Perfect Survey <1.5.2 - SQL Injection http/cves/2021/CVE-2021-24762.yaml
Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.