SecurityContext

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

IdName
CWE-89Improper Neutralization of Special Elements used in an SQL Command

Known exploited entries

ListAdded dateDue dateRansomware use
vulncheck2022-08-19—no

Nuclei templates

IdUrl
CVE-2021-24762https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-24762.yaml

Public exploits

UrlSourceAdded date
http://packetstormsecurity.com/files/166072/WordPress-Perfect-Survey-1.5.1-SQL-Injection.htmlnvd2022-02-01
https://wpscan.com/vulnerability/c1620905-7c31-4e62-80f5-1d9635be11adnvd2022-02-01
https://github.com/NT1410/CVE-2021-24762poc-in-github2026-03-09
https://github.com/c4cnm/Exploit_CVE-2021-24762poc-in-github2025-10-15
https://github.com/c4cnm/Exploit_CVE-2021-24762.gitvulncheck-xdb2025-10-15

References

UrlSourceTags
http://packetstormsecurity.com/files/166072/WordPress-Perfect-Survey-1.5.1-SQL-Injection.htmlnvdExploit, Third Party Advisory, VDB Entry
https://wpscan.com/vulnerability/c1620905-7c31-4e62-80f5-1d9635be11adnvdExploit, Third Party Advisory
https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-24762.yamlnuclei_templateNuclei Template
https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?host_type=src&vulnerability=cve-2021-24762vulncheckVulncheck Reported Exploitation
https://unit42.paloaltonetworks.com/recent-exploits-network-security-trends/vulncheckVulncheck Reported Exploitation

Products

ProductAffectedPlatform boundSourcesUrl
getperfectsurvey:perfect_survey< 1.5.2nonvd/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

Nuclei template