CVE-2021-24762 in the critical feed json
Perfect Survey < 1.5.2 - Unauthenticated SQL Injection
published 2022-02-01 4 y ago modified 2026-06-17 4 mo ago also EUVD-2021-11674
- cvss
- 9.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 86.8%
- EPSS 86.8% chance of exploitation in 30 days, percentile 99.7%
- public exploits
- 2
- Metasploit, Exploit-DB, plus a Nuclei check
Summary
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.
Patch / fix
- getperfectsurvey perfect_survey 1.5.2
Timeline
- First public exploit (Metasploit auxiliary/scanner/http/wp_perfect_survey_sqli)
- Published
Exploit prediction
86.78% chance of exploitation in the next 30 days, higher than 99.7% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- Metasploit auxiliary/scanner/http/wp_perfect_survey_sqli WordPress Plugin Perfect Survey 1.5.1 SQLi (Unauthenticated) metasploit auxiliary, normal rank, 2021-10-05
- EDB-50766 WordPress Plugin Perfect Survey - 1.5.1 - SQLi (Unauthenticated) webapps, 2022-02-21
- Nuclei template WordPress Perfect Survey <1.5.2 - SQL Injection nuclei detection template
- wpscan.com https://wpscan.com/vulnerability/c1620905-7c31-4e62-80f5-1d9635be11ad referenced PoC, tagged "exploit" by a source, unverified
- packetstormsecurity.com http://packetstormsecurity.com/files/166072/WordPress-Perfect-Survey-1.5.1-SQL-Injection.html referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected products
- Unknown Perfect Survey
Classification
- Weakness
-
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command
- Technology feeds
References
-
wpscan.com
/vulnerability/c1620905-7c31-4e62-80f5-1d9635be11ad
exploit, third-party-advisory
-
packetstormsecurity.com
/files/166072/WordPress-Perfect-Survey-1.5.1-SQL-Injection.html
exploit, third-party-advisory, vdb-entry
Sources
- CVE List CVE-2021-24762
- NVD CVE-2021-24762
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.