CVE-2021-24762Perfect Survey < 1.5.2 - Unauthenticated SQL Injection
- 9.8CriticalCVSS base score
- 86.8%Exploitation in 30 daysEPSS · top 0.3% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- 3Public exploitsMetasploit, Nuclei and Exploit-DB
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.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. The public collections list a Metasploit module, a Nuclei template and an Exploit-DB entry for it.
Show the exploits3
Metasploit modules1 module
- WordPress Plugin Perfect Survey 1.5.1 SQLi (Unauthenticated) (Metasploit module) (opens in a new tab)
auxiliary/scanner/http/wp_perfect_survey_sqliRank normaldisclosed 5 Oct 2021
Nuclei templates1 template
- WordPress Perfect Survey <1.5.2 - SQL Injection (Nuclei template) (opens in a new tab)
http/cves/2021/CVE-2021-24762.yamlSeverity critical
Exploit-DB1 entry
- WordPress Plugin Perfect Survey - 1.5.1 - SQLi (Unauthenticated) (Exploit-DB entry) (opens in a new tab)
EDB-ID 50766webapps, phppublished 21 Feb 2022Not verified
Modules, templates and exploits as listed by the Metasploit Framework (BSD-3-Clause), ProjectDiscovery's Nuclei templates (MIT) and the Exploit Database (GPLv2), read once a day. Where the data comes from
Timeline
ID reserved
By WPScan
- 13 months later
· 13 months later
Published
- 3 years later
· 3 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | Critical9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 86.8% · top 0.3% of all CVEs (17 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Critical 9.8.
Affected products
- affected 1.5.2 – < 1.5.2
References
References2
- https://wpscan.com/vulnerability/c1620905-7c31-4e62-80f5-1d9635be11ad (opens in a new tab)x_refsource_MISCx_transferred
- http://packetstormsecurity.com/files/166072/WordPress-Perfect-Survey-1.5.1-SQL-Injection.html (opens in a new tab)x_refsource_MISCx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2021-11674 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2021-24762)Record last updated .